Skip to content

Commit e17a60e

Browse files
committed
test
1 parent eff62f7 commit e17a60e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

kp_pre_commit_hooks/gitops-values-validation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ 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+
print(find_full_error_path(error))
176+
#error_location = "/".join(find_full_error_path(error)) or "the root"
177+
error_location = "/".join(str(x) for x in find_full_error_path(error)) or "the root"
176178
print(f" - {error.message} at {error_location}")
177179

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

0 commit comments

Comments
 (0)