mirror of
https://github.com/ceph/ceph
synced 2025-02-23 19:17:37 +00:00
cephadm: pull: remove newline from ceph_version
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
7244b7cef1
commit
04d1f378e5
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user