cephadm: pull: remove newline from ceph_version

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2020-01-22 16:39:57 -06:00
parent 7244b7cef1
commit 04d1f378e5

View File

@ -1537,7 +1537,7 @@ def command_pull():
args.image])
ver = CephContainer(args.image, 'ceph', ['--version']).run()
print(json.dumps({
'ceph_version': ver,
'ceph_version': ver.strip(),
'image_id': out.strip(),
}, indent=4, sort_keys=True))