Commit 4437705
Stop Instance creation on invalid Network spec (#466)
Before triggering the creation of a new Instance in OpenStack, the
Machine's Network section is used to fetch actual NetworkIDs from
OpenStack.
Before this change, if no OpenShift subnet was found based on the subnet
filters, the Instance spec was sent to OpenStack with an empty Network
segment, resulting in an error.
With this change, Create returns an error to the caller if no matching
networks are found in Openstack.1 parent db74690 commit 4437705
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
133 | 137 | | |
134 | 138 | | |
135 | 139 | | |
| |||
0 commit comments