Replaced method

This commit is contained in:
Daniel Reis 2023-11-10 20:22:03 +00:00
parent 6e46338d44
commit 7c438f2c53

View file

@ -397,7 +397,7 @@ func CreateModel(ctx context.Context, name string, path string, fn func(resp api
if err != nil { if err != nil {
return err return err
} }
newLayer.From = mp.GetNamespaceRepository() newLayer.From = mp.GetShortTagname()
layers = append(layers, newLayer) layers = append(layers, newLayer)
} }
} }