Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
Adding a potential solution to the problem.
  • Loading branch information
frisso authored and adamjensenbot committed May 22, 2023
1 parent 60f21ff commit 72a2826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/liqoctl/install/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (o *Options) validateClusterName() (err error) {

errs := validation.IsDNS1123Label(o.ClusterName)
if len(errs) != 0 {
return fmt.Errorf("the cluster name may only contain lowercase letters, numbers and hyphens, and must not be no longer than 63 characters")
return fmt.Errorf("the cluster name may only contain lowercase letters, numbers and hyphens, and must not be no longer than 63 characters. Try using 'liqoctl --cluster-name' to overcome this error")
}

return nil
Expand Down

0 comments on commit 72a2826

Please sign in to comment.