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 <vladz@cloudius-systems.com>
This commit is contained in:
Vlad Zolotarov
2015-10-18 11:58:43 +03:00
committed by Takuya ASADA
parent ce046d07da
commit 9dfc08cf9f

View File

@@ -75,7 +75,7 @@ public:
}
gossiping_property_file_snitch(
const sstring& fname = snitch_properties_filename,
const sstring& fname = "",
unsigned io_cpuid = 0);
private: