Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove BuildRequest when scheduling fails
If there's a scheduler failure the instance is put into an error status and that's what should be returned by an instance show/list. However because the BuildRequest is not deleted that's what actually gets returned. Delete the BuildRequest on scheduler failures. Change-Id: Ia6c87aecc1484a2366d50822b669291c9f954545 Partially-implements: bp add-buildrequest-obj
- Loading branch information
Showing
2 changed files
with
16 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