1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Remove validation from sub-commands

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
Somtochi Onyekwere
2022-02-16 11:04:05 +01:00
parent 4a893b13f8
commit d7129d6b55
16 changed files with 1 additions and 48 deletions

View File

@@ -59,7 +59,7 @@ func init() {
name := args[0]
if !validateObjectName(name) {
return fmt.Errorf("name '%s' is invalid, it should adhere to standard defined in RFC 1123", name)
return fmt.Errorf("name '%s' is invalid, it should adhere to standard defined in RFC 1123, the name can only contain alphanumeric characters or '-'", name)
}
return nil