Browse Source

fix integration test errors

Anish Mukherjee 2 years ago
parent
commit
ca2fb67490
1 changed files with 1 additions and 4 deletions
  1. 1 4
      controllers/regex.go

+ 1 - 4
controllers/regex.go

@@ -5,10 +5,7 @@ import (
 	"regexp"
 	"regexp"
 )
 )
 
 
-var (
-	errInvalidNodeName    = errors.New("Node name must be alphanumderic and/or dashes")
-	errInvalidExtClientID = errors.New("Ext client ID must be alphanumderic and/or dashes")
-)
+var errInvalidExtClientID = errors.New("ext client ID must be alphanumderic and/or dashes")
 
 
 // allow only dashes and alphaneumeric for ext client and node names
 // allow only dashes and alphaneumeric for ext client and node names
 func validName(name string) bool {
 func validName(name string) bool {