Skip to content

Commit

Permalink
Merge pull request #857 from ioito/hotfix/qx-aws-image-info
Browse files Browse the repository at this point in the history
fix(aws): aws instance image info
  • Loading branch information
ioito authored Apr 7, 2024
2 parents 4a21d38 + 61f628a commit bac128c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/multicloud/aws/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func (self *SImage) GetSizeByte() int64 {

func (self *SImage) getNormalizedImageInfo() *imagetools.ImageInfo {
if self.imgInfo == nil {
imgInfo := imagetools.NormalizeImageInfo("", self.Architecture, getImageOSType(*self), getImageOSDist(*self), getImageOSVersion(*self))
imgInfo := imagetools.NormalizeImageInfo(self.ImageName, self.Architecture, getImageOSType(*self), getImageOSDist(*self), getImageOSVersion(*self))
self.imgInfo = &imgInfo
}
return self.imgInfo
Expand Down

0 comments on commit bac128c

Please sign in to comment.