Explorar el Código

fix extended tag names

Patrick Devine hace 1 año
padre
commit
9818af9763
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 {