Navigation Menu

Skip to content

Commit

Permalink
Remove needless prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 21, 2015
1 parent fcf7f91 commit 00a1ccf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/droonga/serf.rb
Expand Up @@ -47,7 +47,7 @@ def run_agent(loop)
detect_other_hosts.each do |other_host|
retry_joins.push("-retry-join", other_host)
end
tags_file = Droonga::Path.serf_tags_file
tags_file = Path.serf_tags_file
FileUtils.mkdir_p(tags_file.dirname)
agent = Agent.new(loop, @serf_command,
@name.host, agent_port, rpc_port,
Expand Down Expand Up @@ -223,7 +223,7 @@ def ensure_serf
@serf_command ||= find_system_serf
return if @serf_command

serf_path = Droonga::Path.serf_command
serf_path = Path.serf_command
@serf_command = serf_path.to_s
return if serf_path.executable?
downloader = Downloader.new(serf_path)
Expand Down

0 comments on commit 00a1ccf

Please sign in to comment.