Skip to content

Commit fdc8e0e

Browse files
committed
Fix infrastructure status patch
1 parent 4f44303 commit fdc8e0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/controller/infrastructure/actuator_reconcile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,12 +356,12 @@ func (a *actuator) updateProviderStatus(
356356
services = append(services, servicePrefix.Spec.Prefix.Prefix.String())
357357
}
358358
}
359+
infraBase := infra.DeepCopy()
359360
infra.Status.Networking = &extensionsv1alpha1.InfrastructureStatusNetworking{
360361
Nodes: nodes,
361362
Pods: pods,
362363
Services: services,
363364
}
364-
infraBase := infra.DeepCopy()
365365
infra.Status.ProviderStatus = &runtime.RawExtension{
366366
Object: infraStatus,
367367
}

0 commit comments

Comments
 (0)