From a8ac245037909d888afe8fc7826484a1b3c7e5a0 Mon Sep 17 00:00:00 2001 From: Fulvio Risso Date: Mon, 22 May 2023 12:18:06 +0200 Subject: [PATCH] Update pkg/liqoctl/install/validation.go --- pkg/liqoctl/install/validation.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/liqoctl/install/validation.go b/pkg/liqoctl/install/validation.go index 04b13031db..55c3dc5d09 100644 --- a/pkg/liqoctl/install/validation.go +++ b/pkg/liqoctl/install/validation.go @@ -71,7 +71,8 @@ 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. Try using 'liqoctl --cluster-name' to overcome this error") + return fmt.Errorf(`the cluster name must be DNS-compatible (e.g., lowercase letters, numbers and hyphens) and + must be <= 63 characters. Try using 'liqoctl --cluster-name' to set another name and overcome this error`) } return nil