Merge lp:~elopio/snappy/return-string into lp:~fgimenez/snappy/go-functional-tests
Proposed by
Leo Arias
Status: | Merged |
---|---|
Approved by: | Federico Gimenez |
Approved revision: | 517 |
Merged at revision: | 513 |
Proposed branch: | lp:~elopio/snappy/return-string |
Merge into: | lp:~fgimenez/snappy/go-functional-tests |
Diff against target: |
351 lines (+102/-92) 5 files modified
_integration-tests/tests/snappy_test.go (+8/-7) provisioning/provisioning.go (+29/-5) provisioning/provisioning_test.go (+58/-40) snappy/install.go (+7/-25) snappy/install_test.go (+0/-15) |
To merge this branch: | bzr merge lp:~elopio/snappy/return-string |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Federico Gimenez | Approve | ||
Review via email:
|
Commit message
Return a string on exec.
Description of the change
If the error we log is not converted to string, it will just print bytes. And if we convert it to string on the execCommand function, then it makes sense to return that too.
Also, merged with trunk.
To post a comment you must log in.
There are places where we don't use the returned value from the execCommand function, in that cases maybe the conversion is not needed. Maybe we could add another function that calls execComand and returns the converted value?
Thanks!