Sfoglia il codice sorgente

fix extended tag names (#171)

Patrick Devine 1 anno fa
parent
commit
3b43cc019a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 {