.. with get_tracked_keys().
Following https://github.com/ceph/ceph/pull/61394,
all uses of the deprecated interface will be updated,
and that old interface will be removed.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
NVMeofGwMonitorClient::~NVMeofGwMonitorClient() = default;
-const char** NVMeofGwMonitorClient::get_tracked_conf_keys() const
-{
- static const char* KEYS[] = {
- NULL
- };
- return KEYS;
-}
-
std::string read_file(const std::string& filename) {
std::ifstream file(filename);
std::string content((std::istreambuf_iterator<char>(file)), std::istreambuf_iterator<char>());
bool ms_handle_refused(Connection *con) override { return false; };
// config observer bits
- const char** get_tracked_conf_keys() const override;
+ std::vector<std::string> get_tracked_keys() const noexcept override {
+ return {};
+ }
void handle_conf_change(const ConfigProxy& conf,
- const std::set <std::string> &changed) override {};
+ const std::set<std::string> &changed) override {};
int init();
void shutdown();