Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure deleted instances' status is always DELETED
Currently when deleting failed instances that were never assigned a host, their vm_state is left in 'error' instead of 'deleted'. This is a problem when invoking the Index Instances REST API with a Changes-Since query parameter since that API returns both deleted and non-deleted instances, but currently the failed deleted instances are incorrectly marked as status:ERROR instead of status:DELETED. This patch modifies the server ViewBuilder to ensure the status is correctly set. Change-Id: I614714676bab4986564b236d74f2c0d77400e48c Closes-bug: #1243301 (cherry picked from commit 38018d3)
- Loading branch information
Luis A. Garcia
committed
Feb 3, 2014
1 parent
4f947f5
commit cefa81a
Showing
3 changed files
with
43 additions
and
1 deletion.
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
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