Skip to content

Commit 118a0f7

Browse files
pmorieVille Aikas
authored and
Ville Aikas
committed
Fix typo in validation (#1447)
1 parent 117bfbd commit 118a0f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/apis/servicecatalog/validation/instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ func validateServiceInstanceUpdate(instance *sc.ServiceInstance) field.ErrorList
213213
}
214214
if instance.Status.CurrentOperation != "" {
215215
if instance.Spec.ClusterServiceClassRef == nil {
216-
allErrs = append(allErrs, field.Required(field.NewPath("spec").Child("clusterServceClassRef"), "serviceClassRef is required when currentOperation is present"))
216+
allErrs = append(allErrs, field.Required(field.NewPath("spec").Child("clusterServiceClassRef"), "serviceClassRef is required when currentOperation is present"))
217217
}
218218
if instance.Spec.ClusterServicePlanRef == nil {
219219
allErrs = append(allErrs, field.Required(field.NewPath("spec").Child("clusterServicePlanRef"), "servicePlanRef is required when currentOperation is present"))

0 commit comments

Comments
 (0)