mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-25 10:16:12 +08:00
optimized cachedimages sync
This commit is contained in:
@@ -43,11 +43,11 @@ func init() {
|
||||
}
|
||||
|
||||
shellutils.R(&ImageOptions{}, "image-show", "Show image", func(cli *openstack.SRegion, args *ImageOptions) error {
|
||||
image, err := cli.GetImages("", "", args.ID)
|
||||
image, err := cli.GetImage(args.ID)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
printObject(image[0])
|
||||
printObject(image)
|
||||
return nil
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user