mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Remove redundant defined variable (#55122)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
@@ -169,7 +169,7 @@ def create_cpg(
|
||||
if not validate_set_size(raid_type, set_size):
|
||||
return (False, False, "Set size %s not part of RAID set %s" % (set_size, raid_type))
|
||||
if not client_obj.cpgExists(cpg_name):
|
||||
ld_layout = dict()
|
||||
|
||||
disk_patterns = []
|
||||
if disk_type:
|
||||
disk_type = getattr(client.HPE3ParClient, disk_type)
|
||||
|
||||
@@ -890,7 +890,7 @@ class NetAppOntapVolume(object):
|
||||
return None
|
||||
self.module.fail_json(msg='Error fetching job info: %s' % to_native(error),
|
||||
exception=traceback.format_exc())
|
||||
results = dict()
|
||||
|
||||
job_info = result.get_child_by_name('attributes').get_child_by_name('job-info')
|
||||
results = {
|
||||
'job-progress': job_info['job-progress'],
|
||||
|
||||
Reference in New Issue
Block a user