add feedback for reading model metadata (#722)

This commit is contained in:
Bruce MacDonald 2023-10-06 16:05:32 -04:00 committed by GitHub
parent 38dc2f79bc
commit d6786f2945
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -372,6 +372,7 @@ func CreateModel(ctx context.Context, workDir, name string, path string, fn func
} }
if mf != nil { if mf != nil {
fn(api.ProgressResponse{Status: "reading model metadata"})
sourceBlobPath, err := GetBlobsPath(mf.Config.Digest) sourceBlobPath, err := GetBlobsPath(mf.Config.Digest)
if err != nil { if err != nil {
return err return err