Skip to content

Commit 253a6b1

Browse files
authored
Merge pull request #23 from Kpler/chore/debug-1
fix error when is in the list
2 parents eff62f7 + 51f5d23 commit 253a6b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kp_pre_commit_hooks/gitops-values-validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def main():
172172
f"\nERROR: Validation errors for {service_path} in {instance_file}, {base_file} or values.yaml:"
173173
)
174174
for error in errors:
175-
error_location = "/".join(find_full_error_path(error)) or "the root"
175+
error_location = "/".join(str(x) for x in find_full_error_path(error)) or "the root"
176176
print(f" - {error.message} at {error_location}")
177177

178178
output_file = service_path / f"error-merged-{instance_file}"

0 commit comments

Comments
 (0)