-
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.
1. ImageUpgradeTask: refactor _build_policy_attach_payload(), _self_policy_attach_payload(), and handle_deleted_state() into a single method _attach_or_detach_policy() 2. ImageUpgradeTask: Fix _failure() and remove docstring contents that described the issue. 3. Modify test_image_mgmt_upgrade_task_00001 to remove assert for instance.payloads as this is no longer needed 4. test_image_upgrade_validate.py: run through black and isort 5. ImagePolicyAction() : modify to store list of diffs and leverage this in ImageUpgradeTask() when generating results. 6. ImagePolicyAction().validate_request() - add check for image policy does not exist on the controller. 7. ImagePolicyAction() - Add typing for all dict assignments.
- Loading branch information
1 parent
6d2957c
commit cd329e0
Showing
4 changed files
with
130 additions
and
180 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
Oops, something went wrong.