Commit a950ce7
committed
Cluster Create: template name now permitted again
This validation decorator used a driver convenience function
to find the cluster template that required a uuid.
With this change, we use the same code as others in the
class and no longer have to modify get_driver_for_cluster
to be more permissive.
Change-Id: I9e7a462b3d78bb5f520c3edd70dc452f6812f924
Signed-off-by: Dale Smith <[email protected]>1 parent eb56e29 commit a950ce7
File tree
2 files changed
+9
-5
lines changed- magnum
- api
- tests/unit/api/controllers/v1
2 files changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
99 | 103 | | |
100 | 104 | | |
101 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
717 | | - | |
| 717 | + | |
718 | 718 | | |
719 | | - | |
720 | | - | |
| 719 | + | |
| 720 | + | |
721 | 721 | | |
722 | 722 | | |
723 | 723 | | |
| |||
0 commit comments