From: Jason Dillaman Date: Thu, 27 Feb 2020 04:29:12 +0000 (-0500) Subject: cls/rbd: fixed typo in mirror image state ostream operator X-Git-Tag: v15.1.1~153^2~12 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7c34b0c7029f259a8684222d0d215ecbc9fab322;p=ceph-ci.git cls/rbd: fixed typo in mirror image state ostream operator The non-primary demoted state was incorrectly outputting demoted twice. Signed-off-by: Jason Dillaman --- diff --git a/src/cls/rbd/cls_rbd_types.cc b/src/cls/rbd/cls_rbd_types.cc index 57e919faf18..b6e1cd9b0dd 100644 --- a/src/cls/rbd/cls_rbd_types.cc +++ b/src/cls/rbd/cls_rbd_types.cc @@ -997,7 +997,7 @@ std::ostream& operator<<(std::ostream& os, MirrorSnapshotState type) { os << "non-primary"; break; case MIRROR_SNAPSHOT_STATE_NON_PRIMARY_DEMOTED: - os << "demoted (demoted)"; + os << "non-primary (demoted)"; break; default: os << "unknown";