Skip to content

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jul 16, 2014
1 parent 5eacad7 commit a894c64
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bin/droonga-engine-join
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ generator.load(source_catalog)

dataset = generator.dataset_for_host(options.replica_source_host)
if dataset
if generator.dataset_for_host(options.joining_host)
raise "The joining node is already a member of the cluster. " +
"You cannot join a member twice."
end
if generator.dataset_for_host(options.joining_host)
raise "The joining node is already a member of the cluster. " +
"You cannot join a member twice."
end

options.tag = dataset.replicas.tag
options.port = dataset.replicas.port
options.tag = dataset.replicas.tag
options.port = dataset.replicas.port
end

options.joining_node = "#{options.joining_host}:#{options.port}/#{options.tag}"
Expand Down

0 comments on commit a894c64

Please sign in to comment.