diff --git a/api/types.go b/api/types.go index 4dc6f15c..2f5a9424 100644 --- a/api/types.go +++ b/api/types.go @@ -370,7 +370,6 @@ type ProgressResponse struct { Digest string `json:"digest,omitempty"` Total int64 `json:"total,omitempty"` Completed int64 `json:"completed,omitempty"` - Type string `json:"quantize,omitempty"` } // PushRequest is the request passed to [Client.Push]. diff --git a/cmd/cmd.go b/cmd/cmd.go index a5330716..2156542d 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -137,7 +137,7 @@ func CreateHandler(cmd *cobra.Command, args []string) error { } bar.Set(resp.Completed) - } else if resp.Type == "quantize" { + } else if strings.Contains(resp.Status, "quantizing") { spinner.Stop() if quantizeSpin != nil {