mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-04-17 01:28:35 +00:00
Address redefined-argument-from-local.
This commit is contained in:
parent
b02ad20a34
commit
38795830b7
@ -407,7 +407,6 @@ disable=raw-checker-failed,
|
|||||||
possibly-used-before-assignment,
|
possibly-used-before-assignment,
|
||||||
protected-access,
|
protected-access,
|
||||||
raise-missing-from,
|
raise-missing-from,
|
||||||
redefined-argument-from-local,
|
|
||||||
redefined-outer-name,
|
redefined-outer-name,
|
||||||
simplifiable-if-expression,
|
simplifiable-if-expression,
|
||||||
subprocess-popen-preexec-fn,
|
subprocess-popen-preexec-fn,
|
||||||
|
|||||||
@ -892,8 +892,8 @@ def _preprocess_etc_hosts(module, client, api_version, value):
|
|||||||
if value is None:
|
if value is None:
|
||||||
return value
|
return value
|
||||||
results = []
|
results = []
|
||||||
for key, value in value.items():
|
for key, val in value.items():
|
||||||
results.append(f"{key}:{value}")
|
results.append(f"{key}:{val}")
|
||||||
return results
|
return results
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user