]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: cast numbers for mds health to string when print 5944/head
authorKefu Chai <kchai@redhat.com>
Tue, 15 Sep 2015 14:08:10 +0000 (22:08 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 15 Sep 2015 16:21:36 +0000 (00:21 +0800)
commit95462525840b90d3ec23ed96f8b710969bb81b80
tree8d5075ce86a6ebd2daba8d60d2dc89aeb223b2f7
parent97ea80ca41934fccafb467b37754d7a68383c26b
mds: cast numbers for mds health to string when print

MDSHealthMetric.metadata is a map<string,string>, so the num in
`m.metadata["foo"] = num` is casted to char when being printed.
they should be coverted into std::string instead.

Fixes: #13090
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mds/Beacon.cc