Commit 2227e163 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Merge branch 'develop' into feature-test-argument

parents a7aacf12 ac7346a4
......@@ -404,8 +404,10 @@ class image_register(_init_image, _optional_json):
if pclient and not self['metafile_force']:
raiseCLIError('Metadata file %s:%s already exists' % (
container, meta_path))
'Metadata file %s:%s already exists, abort' % (
container, meta_path),
details=['Registration ABORTED', 'Try -f to overwrite'])
except ClientError as ce:
if ce.status != 404:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment