Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix flavor deletion when there is a deleted flavor
If there is a deleted flavor with the same ID as an undeleted flavor, the flavormanage delete code attempts to delete it again, which fails. This patch makes sure to pass read_deleted='no' when the flavor is retrieved for deletion so we get the undeleted flavor. Includes a failing test to make sure the value is passed properly. Fixes bug 1048678 Change-Id: If6a20de2526b7ba90ada4a40317a98f79b2141dc
- Loading branch information
1 parent
641223d
commit d741328
Showing
2 changed files
with
7 additions
and
3 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