ec2_snitch: complete the EC2Snitch -> Ec2Snitch renaming

The rename started in 72b27a91fe
was not complete. This patch fixes the places that were missed
in the above patch.

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Message-Id: <1453375025-7512-3-git-send-email-vladz@cloudius-systems.com>
This commit is contained in:
Vlad Zolotarov
2016-01-21 13:17:05 +02:00
committed by Avi Kivity
parent 9951edde1a
commit e3d7db5e57
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ public:
ec2_snitch(const sstring& fname = "", unsigned io_cpu_id = 0);
virtual future<> start() override;
virtual sstring get_name() const override {
return "org.apache.cassandra.locator.EC2Snitch";
return "org.apache.cassandra.locator.Ec2Snitch";
}
protected:
future<> load_config();

View File

@@ -46,7 +46,7 @@ future<> one_test(const std::string& property_fname, bool exp_result) {
utils::fb_utilities::set_broadcast_rpc_address(gms::inet_address("localhost"));
return i_endpoint_snitch::create_snitch<const sstring&>(
"EC2Snitch",
"Ec2Snitch",
sstring(fname.string()))
.then_wrapped([exp_result] (auto&& f) {
try {