Merge pull request #1055 from dansreis/946-fix-incorrect-base-model-name

Fixed incorrect base model name
This commit is contained in:
Michael Yang 2023-11-13 08:42:55 -08:00 committed by GitHub
commit d91c103e74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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