浏览代码

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

Increase the tag length limit from 30 to 128
Victor Vieux 10 年之前
父节点
当前提交
60908acff6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      graph/tags.go

+ 1 - 1
graph/tags.go

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