diff options
Diffstat (limited to 'cli/objects/images.py')
-rw-r--r-- | cli/objects/images.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/objects/images.py b/cli/objects/images.py index 723a7b0..b4ce469 100644 --- a/cli/objects/images.py +++ b/cli/objects/images.py @@ -41,7 +41,7 @@ class OgImage(): help='Image id to be restored') parser.add_argument('--repo', nargs='?', - default=urlparse(rest.URL).netloc, + default=urlparse(rest.URL).netloc.split(':')[0], help='Images repository ip') group = parser.add_argument_group('clients', 'Client selection args') group.add_argument('--center-id', |