mirror of
https://github.com/ceph/ceph
synced 2025-01-31 23:44:10 +00:00
rgw: create a dummy flusher
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
parent
88e7f61073
commit
e1ddffd01c
@ -125,4 +125,12 @@ public:
|
||||
RGWStreamFlusher(Formatter *f, ostream& _os) : RGWFormatterFlusher(f), os(_os) {}
|
||||
};
|
||||
|
||||
class RGWNullFlusher : public RGWFormatterFlusher {
|
||||
protected:
|
||||
void do_flush() override {
|
||||
}
|
||||
public:
|
||||
RGWNullFlusher() : RGWFormatterFlusher(nullptr) {}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user