Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The current extra_specs_ops.py under nova/scheduler/filters has a bug: it crahses if <or> is not followed by a word. For example, if "<or> gpu <or>" is given in extra_specs, current code tries to pop a word after the second <or> that causes a crash. This patch lets it ignore the "<or>" keyword if no word follows the second "<or>" keyword. Debugged bug 1038979 Change-Id: I80a6eafd7ee57a2f3ccbf2fb869655ab84e92cf2
- Loading branch information
Showing
2 changed files
with
28 additions
and
2 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