Navigation Menu

Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jun 28, 2014
1 parent 376c835 commit 65189f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/droonga/command/serf_event_handler.rb
Expand Up @@ -104,7 +104,7 @@ def join

def join_as_replica
source = @payload["source"]
return unless soruce
return unless source

generator = create_current_catalog_generator
dataset = generator.dataset_for_host(source)
Expand Down Expand Up @@ -193,8 +193,8 @@ def create_current_catalog_generator
def absorb_data
return unless event_for_me?

soruce = @payload["soruce"]
return unless soruce
source = @payload["source"]
return unless source

dataset_name = @payload["dataset"]
port = @payload["port"]
Expand All @@ -205,7 +205,7 @@ def absorb_data
generator = CatalogGenerator.new
generator.load(current_catalog)

dataset = generator.dataset_for_host(soruce)
dataset = generator.dataset_for_host(source)
return unless dataset

dataset_name = dataset.name
Expand Down

0 comments on commit 65189f1

Please sign in to comment.