瀏覽代碼

fix integration test errors

Anish Mukherjee 2 年之前
父節點
當前提交
ca2fb67490
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      controllers/regex.go

+ 1 - 4
controllers/regex.go

@@ -5,10 +5,7 @@ import (
 	"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
 func validName(name string) bool {