Skip to content

Commit 97f2759

Browse files
authored
Fix PROVIDERID (#512)
PROVIDERID should start with openstack://, not openstack:////. This PR fixes the issue.
1 parent da6041d commit 97f2759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/openstackmachine_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ func (r *OpenStackMachineReconciler) reconcileMachine(logger logr.Logger, machin
203203

204204
// TODO(sbueringer) From CAPA: TODO(ncdc): move this validation logic into a validating webhook (for us: create validation logic in webhook)
205205

206-
openStackMachine.Spec.ProviderID = pointer.StringPtr(fmt.Sprintf("openstack:////%s", instance.ID))
206+
openStackMachine.Spec.ProviderID = pointer.StringPtr(fmt.Sprintf("openstack://%s", instance.ID))
207207

208208
openStackMachine.Status.InstanceState = &instance.State
209209

0 commit comments

Comments
 (0)