From: Sébastien Han Date: Mon, 26 Apr 2021 16:01:19 +0000 (+0200) Subject: ceph-volume: fix "device" output X-Git-Tag: v17.1.0~2131^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=da1f9d215fa9e86fa30d82de7032df05c6cbefb1;p=ceph.git ceph-volume: fix "device" output During https://github.com/ceph/ceph/commit/ec0f5f3b22d24754c16131a1996e42b787e4255f I changed "device" by "dev", let's revert that! Fixes: https://tracker.ceph.com/issues/50478 Signed-off-by: Sébastien Han --- diff --git a/src/ceph-volume/ceph_volume/devices/raw/list.py b/src/ceph-volume/ceph_volume/devices/raw/list.py index 7af049e017dc..777930e98341 100644 --- a/src/ceph-volume/ceph_volume/devices/raw/list.py +++ b/src/ceph-volume/ceph_volume/devices/raw/list.py @@ -83,7 +83,7 @@ class List(object): 'osd_id': int(whoami), 'osd_uuid': oj[dev]['osd_uuid'], 'ceph_fsid': oj[dev]['ceph_fsid'], - 'dev': dev + 'device': dev } return result