Navigation Menu

Skip to content

Commit

Permalink
Fold long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 10, 2015
1 parent 46173b3 commit 8c9be71
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/droonga/plugins/system/absorb_data.rb
Expand Up @@ -156,15 +156,18 @@ def source_host
end

def source_port
@source_port ||= @request.request["port"] || NodeName::DEFAULT_PORT
@source_port ||= @request.request["port"] ||
NodeName::DEFAULT_PORT
end

def source_tag
@source_tag ||= @request.request["tag"] || NodeName::DEFAULT_TAG
@source_tag ||= @request.request["tag"] ||
NodeName::DEFAULT_TAG
end

def source_dataset
@source_dataset ||= @request.request["dataset"] || Catalog::Dataset::DEFAULT_NAME
@source_dataset ||= @request.request["dataset"] ||
Catalog::Dataset::DEFAULT_NAME
end

def source_tables
Expand Down

0 comments on commit 8c9be71

Please sign in to comment.