mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(glance): get wrong format when saving image from stream (#20107)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user