diff --git a/api/v1alpha1/common.go b/api/v1alpha1/common.go index 5ee4e32e0..c4f326b45 100644 --- a/api/v1alpha1/common.go +++ b/api/v1alpha1/common.go @@ -150,11 +150,11 @@ func (c ProvidersTupled) BootstrapProvidersNames() []string { } func (c ProvidersTupled) ControlPlaneProvidersNames() []string { - return c.names(bootstrapProvidersType) + return c.names(controlPlaneProvidersType) } func (c ProvidersTupled) InfrastructureProvidersNames() []string { - return c.names(bootstrapProvidersType) + return c.names(infrastructureProvidersType) } func (c ProvidersTupled) names(typ providersType) []string {