Skip to content

Commit 7c64408

Browse files
Better message for RayCluster enableIngress field validation
1 parent 1518c68 commit 7c64408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controllers/raycluster_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func validateIngress(rayCluster *rayv1.RayCluster) field.ErrorList {
147147
allErrors = append(allErrors, field.Invalid(
148148
field.NewPath("spec", "headGroupSpec", "enableIngress"),
149149
rayCluster.Spec.HeadGroupSpec.EnableIngress,
150-
"RayCluster resources with EnableIngress set to true or unspecified is not allowed"))
150+
"RayCluster with enableIngress set to true is not allowed"))
151151
}
152152

153153
return allErrors

0 commit comments

Comments
 (0)