Skip to content

Commit

Permalink
rubocop:disable Lint/SelfAssignment
Browse files Browse the repository at this point in the history
  • Loading branch information
traylenator committed May 25, 2023
1 parent a009be1 commit 67f9eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/mongodb_replset/mongo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def master_host(members)
end

def self.replset_properties
conn_string = conn_string
conn_string = conn_string # rubocop:disable Lint/SelfAssignment
begin
output = mongo_command('rs.conf()', conn_string)
rescue Puppet::ExecutionFailure
Expand Down

0 comments on commit 67f9eb6

Please sign in to comment.