Explorar o código

add feedback for reading model metadata (#722)

Bruce MacDonald hai 1 ano
pai
achega
d6786f2945
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      server/images.go

+ 1 - 0
server/images.go

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