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

chore: improve log for node-collector error #423

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

afdesk
Copy link
Contributor

@afdesk afdesk commented Jan 13, 2025

this PR adds a node name to improve troubleshooting

@afdesk afdesk requested a review from simar7 January 13, 2025 12:28
return "", fmt.Errorf("loading node config: %w", err)
return "", fmt.Errorf("loading node config for %q: %w", nodeName, err)
Copy link
Member

Choose a reason for hiding this comment

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

Nice small change! looks like a good opportunity to add a test case for it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@simar7 I agree with you, and tried to add it.
there were a lot of updates and I've created #432

It seems like too many changes for such a small PR.
wdyt?

Copy link
Member

Choose a reason for hiding this comment

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

Ok sounds good.

@afdesk afdesk requested a review from simar7 January 20, 2025 11:18
@simar7 simar7 merged commit 83aaaa7 into aquasecurity:main Jan 21, 2025
7 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.

2 participants