Browse Source

Merge pull request #8447 from burke/bump-tag-char-limit

Increase the tag length limit from 30 to 128
Victor Vieux 10 years ago
parent
commit
60908acff6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      graph/tags.go

+ 1 - 1
graph/tags.go

@@ -19,7 +19,7 @@ import (
 const DEFAULTTAG = "latest"
 const DEFAULTTAG = "latest"
 
 
 var (
 var (
-	validTagName = regexp.MustCompile(`^[\w][\w.-]{0,29}$`)
+	validTagName = regexp.MustCompile(`^[\w][\w.-]{0,127}$`)
 )
 )
 
 
 type TagStore struct {
 type TagStore struct {