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

missing error #154

Open
fl0pp5 opened this issue Sep 26, 2024 · 1 comment · May be fixed by #155
Open

missing error #154

fl0pp5 opened this issue Sep 26, 2024 · 1 comment · May be fixed by #155

Comments

@fl0pp5
Copy link

fl0pp5 commented Sep 26, 2024

Found missing error check at the pkg/collector/collect.pkg

commands, err := GetNodesCommands(nodeCommands, cm, nodeType)  // no error handling
if len(commands) == 0 {
	return fmt.Errorf("spec not found")
}

In my case all yaml errors have been suppressed

@fl0pp5 fl0pp5 linked a pull request Sep 26, 2024 that will close this issue
Copy link

This issue is stale because it has been labeled with inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant