Skip to content

Commit 60d1c22

Browse files
committed
Fixing error message
1 parent f81d087 commit 60d1c22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1alpha3/cloudstackcluster_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func (r *CloudStackCluster) ValidateCreate() error {
6363
}
6464

6565
if (r.Spec.Account != "") && (r.Spec.Domain == "") {
66-
errorList = append(errorList, field.Required(field.NewPath("spec", "account"), "account and domain must be specified together"))
66+
errorList = append(errorList, field.Required(field.NewPath("spec", "account"), "specifying account requires additionally specifying domain"))
6767
}
6868

6969
// Zone and Network are required fields

0 commit comments

Comments
 (0)