Skip to content

Commit

Permalink
Fix typo in azure validation (kubernetes-sigs#257)
Browse files Browse the repository at this point in the history
* Fix typo in azure validation

* Clean message
  • Loading branch information
kahun authored Sep 1, 2023
1 parent f1568d1 commit 45491c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/internal/validate/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func validateAzure(spec commons.Spec, providerSecrets map[string]string) error {
return errors.New("spec.docker_registries[" + strconv.Itoa(i) + "]: Invalid value: \"type\": ecr is not supported in Azure/AKS")
}
if dr.Type != "acr" && spec.ControlPlane.Managed {
return errors.New("spec.docker_registries[" + strconv.Itoa(i) + "]: Invalid value: \"type\": acr is not supported in AKS")
return errors.New("spec.docker_registries[" + strconv.Itoa(i) + "]: Invalid value: \"type\": only acr is supported in AKS")
}
}

Expand Down

0 comments on commit 45491c8

Please sign in to comment.