diff options
Diffstat (limited to 'src/messages/MOSDRepScrub.h')
-rw-r--r-- | src/messages/MOSDRepScrub.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages/MOSDRepScrub.h b/src/messages/MOSDRepScrub.h index 9837f287e18..522bfb22b21 100644 --- a/src/messages/MOSDRepScrub.h +++ b/src/messages/MOSDRepScrub.h @@ -41,8 +41,8 @@ private: ~MOSDRepScrub() {} public: - const char *get_type_name() { return "replica scrub"; } - void print(ostream& out) { + const char *get_type_name() const { return "replica scrub"; } + void print(ostream& out) const { out << "replica scrub(pg: "; out << pgid << ",from:" << scrub_from << ",to:" << scrub_to << "epoch:" << map_epoch; |