diff options
author | Sage Weil <sage@redhat.com> | 2019-03-16 19:03:54 +0100 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2019-03-16 19:03:54 +0100 |
commit | 896b7f3ea93925e684ba15eacbfba9cc2bce9d42 (patch) | |
tree | 630871f76987d722d986d09df4e9fb5d4f65ae03 | |
parent | Merge PR #26563 into nautilus (diff) | |
parent | osd: stringify as int (diff) | |
download | ceph-896b7f3ea93925e684ba15eacbfba9cc2bce9d42.tar.xz ceph-896b7f3ea93925e684ba15eacbfba9cc2bce9d42.zip |
Merge PR #27000 into nautilus
* refs/pull/27000/head:
osd: stringify as int
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
-rw-r--r-- | src/osd/OSD.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 4cbca989f4c..9b683bc408c 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -8457,7 +8457,8 @@ void OSD::check_osdmap_features() if (osdmap->require_osd_release != last_require_osd_release) { dout(1) << __func__ << " require_osd_release " << last_require_osd_release << " -> " << to_string(osdmap->require_osd_release) << dendl; - store->write_meta("require_osd_release", stringify(osdmap->require_osd_release)); + store->write_meta("require_osd_release", + stringify((int)osdmap->require_osd_release)); last_require_osd_release = osdmap->require_osd_release; } } |