mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Fix various sonarcloud issues
This fixes various reported bugs through sonarcloud at: https://sonarcloud.io/project/issues?id=Rodney-Reis_ansible&resolved=false&types=BUG
This commit is contained in:
@@ -197,8 +197,7 @@ class NetAppCDOTAggregate(object):
|
||||
changed = True
|
||||
|
||||
elif self.state == 'present':
|
||||
if self.name is not None and not self.name == \
|
||||
self.name:
|
||||
if self.name is not None and not self.name == self.name:
|
||||
rename_aggregate = True
|
||||
changed = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user