Skip to content

Commit 67f9eb6

Browse files
committed
rubocop:disable Lint/SelfAssignment
1 parent a009be1 commit 67f9eb6

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
@@ -130,7 +130,7 @@ def master_host(members)
130130
end
131131

132132
def self.replset_properties
133-
conn_string = conn_string
133+
conn_string = conn_string # rubocop:disable Lint/SelfAssignment
134134
begin
135135
output = mongo_command('rs.conf()', conn_string)
136136
rescue Puppet::ExecutionFailure

0 commit comments

Comments
 (0)