forked from projectatomic/atomic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syscontainer: catch missing container info failure
As reported by projectatomic#1191, when info file is missing, atomic images list will unexpectedly fail. This patch is therefore to catch the error and instead output a warning to notify user. This patch also adds an error handling case for following commands: 1: atomic uninstall $container 2: atomic containers update $container 3: atomic containers rollback $container Now instead of erroring out, a warning is added to notify the user about the failure
- Loading branch information
1 parent
ca5d43a
commit cdb8a72
Showing
1 changed file
with
33 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters