Commit 362de71
committed
Remove dependence on annotation to allow Server deletion
If a failure happened while handling the Machine creation,
the Machine can end up without an openstack-resourceId
annotation. This makes the deletion of the Machine to fail as
no Server ID was specified in the annotation. This commit fixes
the issue by making the deletion rely on the Server ID retrieved
prior to delete instead of using the annotation.
Co-authored-by: Matthew Booth [email protected]1 parent 84171b7 commit 362de71
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
307 | | - | |
| 306 | + | |
308 | 307 | | |
309 | 308 | | |
310 | 309 | | |
| |||
0 commit comments