~fgimenez/snappy-cloud-image/trunk

« back to all changes in this revision

Viewing changes to pkg/runner/runner.go

  • Committer: Federico Gimenez
  • Date: 2015-11-18 08:29:45 UTC
  • mfrom: (24.1.1)
  • Revision ID: git-v1:5c73b664e6e3f40ffd6cdbcba5e4a65ee67d53a9
Merge pull request #25 from ubuntu-core/exit-status

Signal runner error to the caller

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
}
50
50
 
51
51
func (e *ErrVersion) Error() string {
52
 
        return fmt.Sprintf("error SI version %d is lower than cloud version %d", e.siVersion, e.cloudVersion)
 
52
        return fmt.Sprintf("error SI version %d is not greater than cloud version %d", e.siVersion, e.cloudVersion)
53
53
}
54
54
 
55
55
// ErrActionUnknown is the type of the error returned by Exec when the