Navigation Menu

Skip to content

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 21, 2015
1 parent be08561 commit 18cee25
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions bin/droonga-engine-set-role
Expand Up @@ -78,9 +78,9 @@ module Droonga

def set_node_role
target_node_serf.ensure_restarted do
target_node_serf.send_query("change_role",
"node" => target_node,
"role" => @options[:role])
target_node_serf.send_query("change_role",
"node" => target_node,
"role" => @options[:role])
end
end
end
Expand Down
8 changes: 4 additions & 4 deletions bin/droonga-engine-unjoin
Expand Up @@ -148,10 +148,10 @@ module Droonga
puts "Unjoining replica from the cluster..."

remaining_node_serf.ensure_restarted do
remaining_node_serf.send_query("unjoin",
"cluster_id" => cluster_id,
"dataset" => dataset_name,
"hosts" => [replica_remove_host])
remaining_node_serf.send_query("unjoin",
"cluster_id" => cluster_id,
"dataset" => dataset_name,
"hosts" => [replica_remove_host])
end
end
end
Expand Down

0 comments on commit 18cee25

Please sign in to comment.