Skip to content

Commit cb6ccad

Browse files
mnietojiopenshift-merge-bot[bot]
authored andcommitted
base_extra_patches variable name was wrong
1 parent d821883 commit cb6ccad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roles/ci_gen_kustomize_values/filter_plugins/cifmw_gen_kustomize_values_b64_combine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ def __extract_kustomize_config_map(cls, data, name=None, base_extra_patches=None
5959
"cifmw_gen_kustomize_values_b64_combine requires the optional name "
6060
f"to be a string, got {type(name)}"
6161
)
62-
if base_extra_patches and not isinstance(name, list):
62+
if base_extra_patches and not isinstance(base_extra_patches, list):
6363
raise AnsibleFilterTypeError(
6464
"cifmw_gen_kustomize_values_b64_combine requires the optional base_extra_patches "
65-
f"to be a list, got {type(name)}"
65+
f"to be a list, got {type(base_extra_patches)}"
6666
)
6767
raw_payloads = [base64.b64decode(payload) for payload in data]
6868
decoded_payloads = list(

0 commit comments

Comments
 (0)