Forráskód Böngészése

fix extended tag names

Patrick Devine 1 éve
szülő
commit
9818af9763
1 módosított fájl, 1 hozzáadás és 1 törlés
  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 {