summaryrefslogtreecommitdiff
path: root/glanceclient/v2/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'glanceclient/v2/shell.py')
-rw-r--r--glanceclient/v2/shell.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/glanceclient/v2/shell.py b/glanceclient/v2/shell.py
index 93a9377..3b5b248 100644
--- a/glanceclient/v2/shell.py
+++ b/glanceclient/v2/shell.py
@@ -778,9 +778,9 @@ def do_image_import(gc, args):
all_stores = getattr(args, "os_all_stores", None)
allow_failure = getattr(args, "os_allow_failure", True)
uri = getattr(args, "uri", None)
- remote_region = getattr(args, "remote-region", None)
- remote_image_id = getattr(args, "remote-image-id", None)
- remote_service_interface = getattr(args, "remote-service-interface", None)
+ remote_region = getattr(args, "remote_region", None)
+ remote_image_id = getattr(args, "remote_image_id", None)
+ remote_service_interface = getattr(args, "remote_service_interface", None)
if not getattr(args, 'from_create', False):
if (args.store and (stores or all_stores)) or (stores and all_stores):