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 Jun 27, 2014
1 parent ee0e271 commit 7eea38c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/droonga/command/serf_event_handler.rb
Expand Up @@ -93,13 +93,13 @@ def output_live_nodes
path = Path.live_nodes
nodes = live_nodes
file_contents = JSON.pretty_generate(nodes)
Droonga::SafeFileWriter.write(path, file_contents)
SafeFileWriter.write(path, file_contents)
end

def save_status(key, value)
status = Serf.load_status
status[key] = value
Droonga::SafeFileWriter.write(Serf.status_file, JSON.pretty_generate(status))
SafeFileWriter.write(Serf.status_file, JSON.pretty_generate(status))
end
end
end
Expand Down

0 comments on commit 7eea38c

Please sign in to comment.