From: Ronen Friedman Date: Sun, 9 Mar 2025 14:33:19 +0000 (-0500) Subject: test/crimson/test_config: replace obsolete get_tracked_conf_keys() X-Git-Tag: testing/wip-pdonnell-testing-20250324.181635-debug~68^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=52568c3546037f75b087e388ff467a707ca0c173;p=ceph-ci.git test/crimson/test_config: replace obsolete get_tracked_conf_keys() .. 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 --- diff --git a/src/test/crimson/test_config.cc b/src/test/crimson/test_config.cc index 7b1dddb715f..94cd04ab134 100644 --- a/src/test/crimson/test_config.cc +++ b/src/test/crimson/test_config.cc @@ -18,12 +18,8 @@ class ConfigObs : public ceph::md_config_obs_impl { uint64_t last_change = INVALID_VALUE; uint64_t num_changes = 0; - const char** get_tracked_conf_keys() const override { - static const char* keys[] = { - test_uint_option.c_str(), - nullptr, - }; - return keys; + std::vector get_tracked_keys() const noexcept override { + return { test_uint_option }; } void handle_conf_change(const Config& conf, const std::set &changes) override{