Skip to content

Commit

Permalink
Merge pull request #9757 from lindenlab/9712-validTagName-errormessage
Browse files Browse the repository at this point in the history
Fixing ValidateTagName error message #9712
  • Loading branch information
LK4D4 committed Dec 23, 2014
2 parents 034ba8b + b74ccf2 commit 043e33c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graph/tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ func ValidateTagName(name string) error {
return fmt.Errorf("Tag name can't be empty")
}
if !validTagName.MatchString(name) {
return fmt.Errorf("Illegal tag name (%s): only [A-Za-z0-9_.-] are allowed, minimum 2, maximum 30 in length", name)
return fmt.Errorf("Illegal tag name (%s): only [A-Za-z0-9_.-] are allowed, minimum 1, maximum 128 in length", name)
}
return nil
}
Expand Down

0 comments on commit 043e33c

Please sign in to comment.