diff --git a/glanceclient/v2/images.py b/glanceclient/v2/images.py index 6d456ebd..29abc309 100644 --- a/glanceclient/v2/images.py +++ b/glanceclient/v2/images.py @@ -257,7 +257,7 @@ class Controller(object): def image_import(self, image_id, method='glance-direct'): """Import Image via method.""" url = '/v2/images/%s/import' % image_id - data = {'import_method': method} + data = {'method': {'name': method}} resp, body = self.http_client.post(url, data=data) return body, resp