diff --git a/pkg/image/models/images.go b/pkg/image/models/images.go index 9081cd219d2..a708a202af9 100644 --- a/pkg/image/models/images.go +++ b/pkg/image/models/images.go @@ -538,6 +538,7 @@ func (self *SImage) SaveImageFromStream(reader io.Reader, totalSize int64, calCh if err != nil { return err } + format = string(img.Format) virtualSizeBytes = img.SizeBytes var fastChksum string