Merge pull request #3472 from rainzm/bugfix/guest_image

Bugfix: Guest Image
This commit is contained in:
yunion-ci-robot
2019-11-06 14:35:14 +08:00
committed by GitHub
9 changed files with 33 additions and 12 deletions
+2 -2
View File
@@ -556,9 +556,9 @@ func init() {
return nil
})
R(&options.ServerSaveImageOptions{}, "server-save-guest-image",
R(&options.ServerSaveGuestImageOptions{}, "server-save-guest-image",
"save root disk and data disks to new images and upload to glance.", func(s *mcclient.ClientSession,
opts *options.ServerSaveImageOptions) error {
opts *options.ServerSaveGuestImageOptions) error {
params, err := options.StructToParams(opts)
if err != nil {