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

Allow specifying namespaces when analyzing cluster resources #515

Merged
merged 2 commits into from Dec 17, 2021

Conversation

divolgin
Copy link
Member

No description provided.

@divolgin divolgin requested a review from a team December 17, 2021 21:45
@@ -68,29 +68,37 @@ func analyzeOneJobStatus(analyzer *troubleshootv1beta2.JobStatus, getFileContent
}

func analyzeAllJobStatuses(analyzer *troubleshootv1beta2.JobStatus, getFileContents func(string) (map[string][]byte, error)) ([]*AnalyzeResult, error) {
var fileName string
fileNames := make([]string, 0)
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be nice to see some of these code expressed a bit more generically so we don't need to repeat it for each of these analyzers, but it out of the scope of this work.

@divolgin divolgin merged commit 137b0ce into main Dec 17, 2021
@adamancini adamancini deleted the divolgin/namesapces branch December 23, 2022 19:41
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

2 participants