Skip to content

Commit

Permalink
Merge pull request #4 from smashingboxes/master
Browse files Browse the repository at this point in the history
Fixed syntax error in libraries/mongodb.rb, thanks Reed Law for the patch.
  • Loading branch information
Markus Korn committed Sep 19, 2011
2 parents 443eeea + f4590bd commit 19ed754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongodb/libraries/mongodb.rb
Expand Up @@ -65,7 +65,7 @@ def self.configure_replicaset(node, name, members)
Chef::Log.info("Started configuring the replicaset, this will take some time, another run should run smoothly")
return
end
if result.fetch("ok", nil) == 1:
if result.fetch("ok", nil) == 1
# everything is fine, do nothing
elsif result.fetch("errmsg", nil) == "already initialized"
# check if both configs are the same
Expand Down

0 comments on commit 19ed754

Please sign in to comment.