Skip to content

Commit 5f4ca01

Browse files
Ville AikasDoug Davis
Ville Aikas
authored and
Doug Davis
committed
address PR comment as a followup (openshift#1380)
1 parent 485d5e6 commit 5f4ca01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/apis/servicecatalog/validation/instance.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ func validatePlanReference(p *sc.PlanReference, fldPath *field.Path) field.Error
317317
}
318318
// Can't specify both External and k8s name but must specify one.
319319
if externalPlanSet == k8sPlanSet {
320-
allErrs = append(allErrs, field.Required(fldPath.Child("externalClusterServicePlanName"), "either externalClusterServicePlanName or clusterServicePlanName required"))
320+
allErrs = append(allErrs, field.Required(fldPath.Child("externalClusterServicePlanName"), "exactly one of externalClusterServicePlanName or clusterServicePlanName required"))
321321
allErrs = append(allErrs, field.Required(fldPath.Child("clusterServicePlanName"), "exactly one of externalClusterServicePlanName or clusterServicePlanName required"))
322322
}
323323

0 commit comments

Comments
 (0)