Skip to content

Commit

Permalink
Fix typo from #1354 (#1456)
Browse files Browse the repository at this point in the history
See: kubernetes-retired/service-catalog#1354 (review)

Signed-off-by: Doug Davis <dug@us.ibm.com>
  • Loading branch information
Doug Davis authored and nilebox committed Oct 22, 2017
1 parent ff86ef2 commit 40926cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/servicecatalog/validation/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func internalValidateServiceInstanceUpdateAllowed(new *sc.ServiceInstance, old *
errors = append(errors, field.Forbidden(field.NewPath("spec"), "Another update for this service instance is in progress"))
}
if old.Spec.ClusterServicePlanExternalName != new.Spec.ClusterServicePlanExternalName && new.Spec.ClusterServicePlanRef != nil {
errors = append(errors, field.Forbidden(field.NewPath("spec").Child("clusterServicePlanRef"), "clusterServicePlanRef must not be present when servicePlanExternalName is being changed"))
errors = append(errors, field.Forbidden(field.NewPath("spec").Child("clusterServicePlanRef"), "clusterServicePlanRef must not be present when clusterServicePlanExternalName is being changed"))
}
return errors
}
Expand Down

0 comments on commit 40926cd

Please sign in to comment.