Skip to content

Commit 13df910

Browse files
set the provider ID correctly for linode-CCM to read (#114)
1 parent 92c0ba0 commit 13df910

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/linodemachine_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ func (r *LinodeMachineReconciler) reconcileCreate(
359359

360360
machineScope.LinodeMachine.Status.Ready = true
361361
machineScope.LinodeMachine.Spec.InstanceID = &linodeInstance.ID
362-
machineScope.LinodeMachine.Spec.ProviderID = util.Pointer(fmt.Sprintf("linode:///%s/%d", linodeInstance.Region, linodeInstance.ID))
362+
machineScope.LinodeMachine.Spec.ProviderID = util.Pointer(fmt.Sprintf("linode://%d", linodeInstance.ID))
363363

364364
machineScope.LinodeMachine.Status.Addresses = []clusterv1.MachineAddress{}
365365
for _, add := range linodeInstance.IPv4 {

0 commit comments

Comments
 (0)