Merge 16510440e86d0736d3695ecad9d2bc6c28c71b7c into 67691e410db7a50b07a64858820b14de9aa91314
This commit is contained in:
commit
59585261b3
@ -61,6 +61,10 @@ func ParseModelPath(name string) ModelPath {
|
||||
mp.Repository = parts[1]
|
||||
case 1:
|
||||
mp.Repository = parts[0]
|
||||
default:
|
||||
mp.Registry = parts[0]
|
||||
mp.Namespace = strings.Join(parts[1:len(parts)-1], "/")
|
||||
mp.Repository = parts[len(parts)-1]
|
||||
}
|
||||
|
||||
if repo, tag, found := strings.Cut(mp.Repository, ":"); found {
|
||||
|
Loading…
x
Reference in New Issue
Block a user