We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e24d49d commit 7a5d40eCopy full SHA for 7a5d40e
venonactl/cmd/install.go
@@ -225,10 +225,10 @@ func parseNodeSelector(s string) (nodeSelector, error) {
225
226
func validateInstallOptions(opts plugins.InstallOptions) (error) {
227
if len(opts.ClusterName) > clusterNameMaxLength {
228
- return errors.New("cluster name lenght is limited to 20")
+ return errors.New(fmt.Sprintf("cluster name lenght is limited to %d", clusterNameMaxLength))
229
}
230
if len(opts.ClusterNamespace) > namespaceMaxLength {
231
- return errors.New("cluster namespace is limited to 20")
+ return errors.New(fmt.Sprintf("cluster namespace is limited to %d", namespaceMaxLength))
232
233
return nil
234
0 commit comments