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:
Dag Wieers
2019-02-05 01:44:45 +01:00
committed by Matt Clay
parent f9ab9b4d68
commit c2fb581414
12 changed files with 15 additions and 70 deletions

View File

@@ -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