This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fleetctl:destroy: on destroy check if the unit does not exist
Add IsErrorUnitNotFound() and use it in destroy to check if the error indicates that the unit does not exist. For the moment we just want to check if the error is 'unit not found', if later we want more we may export a more generic function into cAPI.
- Loading branch information
Djalal Harouni
committed
Feb 24, 2016
1 parent
9400eeb
commit 4a71826
Showing
2 changed files
with
10 additions
and
0 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
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