Skip to content

Commit dd426a3

Browse files
authored
Rubocop syntax fix
1 parent 28a776d commit dd426a3

File tree

1 file changed

+1
-1
lines changed
  • lib/puppet/provider/mongodb_replset

1 file changed

+1
-1
lines changed

lib/puppet/provider/mongodb_replset/mongo.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def get_hosts_status(members)
162162
alive.push(member)
163163
end
164164

165-
if status.key?('errmsg') && (status['errmsg'].include?('no replset config has been received'))
165+
if status.key?('errmsg') && status['errmsg'].include?('no replset config has been received')
166166
Puppet.info 'Mongo v4 rs.status() RS not initialized output'
167167
alive.push(member)
168168
end

0 commit comments

Comments
 (0)