We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6afefc7 commit f0691f5Copy full SHA for f0691f5
plugins/lookup/kustomize.py
@@ -120,7 +120,7 @@ def run(
120
binary_path=None,
121
opt_dirs=None,
122
enable_helm=False,
123
- enviroment={},
+ enviroment=None,
124
**kwargs
125
):
126
executable_path = binary_path
@@ -159,7 +159,7 @@ def run(
159
160
if enviroment:
161
if isinstance(enviroment, str):
162
- if not all([env.count("=") == 1 for env in enviroment.split(" ")]):
+ if not all(env.count("=") == 1 for env in enviroment.split(" ")):
163
raise AnsibleLookupError(
164
"Enviroment should be dict or string in the format key=value"
165
)
0 commit comments