Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fileName when Error decoding YAML #636

Merged
merged 1 commit into from
May 2, 2024

Conversation

chenmj11
Copy link
Contributor

@chenmj11 chenmj11 commented Apr 26, 2024

Type of change

  • Refactor
  • New feature
  • Bug fix
  • Optimization
  • Documentation Update

Description

error log when error decoding YAML,finding error is difficult.
"Error decoding YAML: yaml: line 11: could not find expected ':'" file="utils.go:75"

adding a file name makes it easy
"Error decoding YAML file (templates/xxx.yaml): yaml: line 11: could not find expected ':'" file="utils.go:75"

Related Tickets & Documents

  • Related Issue #
  • Closes #

Signed-off-by: chenmj11 <c18332534589@gmail.com>
Copy link
Collaborator

@vishnuchalla vishnuchalla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rsevilla87 rsevilla87 self-requested a review May 2, 2024 16:45
Copy link
Member

@rsevilla87 rsevilla87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rsevilla87 rsevilla87 merged commit 345f1c7 into kube-burner:main May 2, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants