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

Added Namespace for Collection and Allows for tests to output to stdout #91

Merged
merged 3 commits into from
Dec 13, 2019

Conversation

bearium
Copy link

@bearium bearium commented Dec 4, 2019

--namespace flag can now be passed into the support bundle and will now only collect resource information from specified namespace. if flag not specified default cluster wide resource collection is used.

--interactive=false now results in tests printing to stdout in go test format, allows for easier and quicker test inspection

go mod tidy was ran to clean up dependencies

@marccampbell marccampbell added this to the 1.5.0 milestone Dec 6, 2019
@marccampbell
Copy link
Member

@bearium thanks for the contribution! This lgtm, and we will include it in our next release (Dec 9)

Copy link
Member

@divolgin divolgin left a comment

Choose a reason for hiding this comment

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

Thanks for the pull request. There's just one small nit-picky thing. Otherwise it looks good.

fmt.Printf("=== RUN: %s\n", analyzeResult.Title)
}
for _, analyzeResult := range analyzeResults {
outputResult(analyzeResult)
Copy link
Member

Choose a reason for hiding this comment

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

outputResult should return the value that is currently stored in the global failed variable. The the global variable should be removed.

@laverya
Copy link
Member

laverya commented Dec 13, 2019

Thanks for the PR!

@laverya laverya merged commit fd257b5 into replicatedhq:master Dec 13, 2019
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

4 participants