浏览代码

fix extended tag names (#171)

Patrick Devine 1 年之前
父节点
当前提交
3b43cc019a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/modelpath.go

+ 1 - 1
server/modelpath.go

@@ -45,7 +45,7 @@ func ParseModelPath(name string) ModelPath {
 		return ModelPath{}
 	}
 
-	colonParts := strings.Split(name, ":")
+	colonParts := strings.Split(slashParts[len(slashParts)-1], ":")
 	if len(colonParts) == 2 {
 		tag = colonParts[1]
 	} else {