forked from openstack/blazar
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add validation for capability value - updating the value
Earlier only the validation for capability value - if the value for the capability already exists is checked when the capability is first assigned to the node. Does not consider the case, when the value is updated for a node. Adding another method in models to check if any node has the same value for a capability when is_unique is True Change-Id: I115a6de12cabc2e32b5c10669b0f9c7b0fdbb5f5
- Loading branch information
1 parent
a20ba99
commit 5c516bc
Showing
1 changed file
with
27 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