[lxc-devel] [lxc/lxc] ed05aa: storage: treat return value from ops->destroy as i...
GitHub
noreply at github.com
Sat Jan 20 05:27:38 UTC 2018
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: ed05aac829498161289d4f2da4002b42fb54bc32
https://github.com/lxc/lxc/commit/ed05aac829498161289d4f2da4002b42fb54bc32
Author: Michael McCracken <mikmccra at cisco.com>
Date: 2018-01-19 (Fri, 19 Jan 2018)
Changed paths:
M src/lxc/storage/storage.c
Log Message:
-----------
storage: treat return value from ops->destroy as int
r->ops->destroy() returns an int, -1 on error.
When assigned to a bool, this becomes true and hides errors.
Signed-off-by: Michael McCracken <mikmccra at cisco.com>
Commit: 95220ee6e0c9bcaefcc06b9af293dcca7914667a
https://github.com/lxc/lxc/commit/95220ee6e0c9bcaefcc06b9af293dcca7914667a
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2018-01-20 (Sat, 20 Jan 2018)
Changed paths:
M src/lxc/storage/storage.c
Log Message:
-----------
Merge pull request #2097 from mikemccracken/2018-01-19/report-storage-destroy
storage: treat return value from ops->destroy as int
Compare: https://github.com/lxc/lxc/compare/e6dba5129040...95220ee6e0c9
More information about the lxc-devel
mailing list