diff options
author | Joao Eduardo Luis <joao.luis@inktank.com> | 2013-04-24 16:40:25 +0100 |
---|---|---|
committer | Joao Eduardo Luis <joao.luis@inktank.com> | 2013-04-24 16:40:25 +0100 |
commit | b2df5c235a8928cbfeca9cba42d0036dab55dad4 (patch) | |
tree | 079f3cd6f8068a6fd1f02a5db5373ccae0f12bf3 | |
parent | 1598b038b377f62ab5b1b80af3ca42ba2b2918f1 (diff) | |
download | ceph-b2df5c235a8928cbfeca9cba42d0036dab55dad4.tar.gz |
mon: MonitorDBStore: force exists(str,v) to use our own exists(str,str)
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
-rw-r--r-- | src/mon/MonitorDBStore.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mon/MonitorDBStore.h b/src/mon/MonitorDBStore.h index ce4dbead526..100762423e3 100644 --- a/src/mon/MonitorDBStore.h +++ b/src/mon/MonitorDBStore.h @@ -415,7 +415,8 @@ class MonitorDBStore } virtual bool exists(const string& prefix, version_t ver) { - return exists(prefix, stringify(ver)); + bool ret = MonitorDBStore::exists(prefix, stringify(ver)); + return ret; } string combine_strings(const string& prefix, const string& value) { |