Skip to content

Commit 89a209f

Browse files
committed
update openstack provider format from // to ///
1 parent c1230af commit 89a209f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

controllers/openstackmachine_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ func (r *OpenStackMachineReconciler) reconcileNormal(ctx context.Context, logger
320320

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

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

325325
openStackMachine.Status.InstanceState = &instance.State
326326

docs/mover.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,6 @@ default capi-openstack-3 capi-openstack-3 true 4a6f2d57-bb3d-44f4-a28
158158
159159
# kubectl get openstackmachines --kubeconfig capi-openstack-3.kubeconfig --all-namespaces
160160
NAMESPACE NAME CLUSTER STATE READY INSTANCEID MACHINE
161-
default capi-openstack-control-plane-82xck capi-openstack-3 ACTIVE true openstack://f29007c5-f672-4214-a508-b7cf4a17b3ed capi-openstack-control-plane-n2kdq
162-
default capi-openstack-md-0-bkwhh capi-openstack-3 ACTIVE true openstack://6e23324d-315a-4d75-85a9-350fd1705ab6 capi-openstack-md-0-dfdf94979-656zq
161+
default capi-openstack-control-plane-82xck capi-openstack-3 ACTIVE true openstack:///f29007c5-f672-4214-a508-b7cf4a17b3ed capi-openstack-control-plane-n2kdq
162+
default capi-openstack-md-0-bkwhh capi-openstack-3 ACTIVE true openstack:///6e23324d-315a-4d75-85a9-350fd1705ab6 capi-openstack-md-0-dfdf94979-656zq
163163
```

0 commit comments

Comments
 (0)