From 9dfc08cf9fad7be3bd6ecab4be270a57e3a9dc4e Mon Sep 17 00:00:00 2001 From: Vlad Zolotarov Date: Sun, 18 Oct 2015 11:58:43 +0300 Subject: [PATCH] locator::gossiping_property_file_snitch: use empty string as a default config file name A non-empty default value of a configuration file name was preventing the db::config::get_conf_dir() to kick in when a default snitch constructor was used (this is the way it's always used from scylla). Fixes issue #459 Signed-off-by: Vlad Zolotarov --- locator/gossiping_property_file_snitch.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locator/gossiping_property_file_snitch.hh b/locator/gossiping_property_file_snitch.hh index fd675ba536..281c0f1a75 100644 --- a/locator/gossiping_property_file_snitch.hh +++ b/locator/gossiping_property_file_snitch.hh @@ -75,7 +75,7 @@ public: } gossiping_property_file_snitch( - const sstring& fname = snitch_properties_filename, + const sstring& fname = "", unsigned io_cpuid = 0); private: