-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing behavior of ImagePolicies, more...
ImagePolicies() called fail_json() when the caller asked for a policy_name that did not exist on the controller. During initial work on dcnm_image_policy module, we need this to return None instead. Hence, changing the behavior. This does not require any other changes to dcnm_image_upgrade, other than modifying one of the unit tests to expect the new behavior.
- Loading branch information
1 parent
3701dbd
commit 55dd467
Showing
2 changed files
with
27 additions
and
14 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