We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the filter has notapod in kinds, the pod resources will not be filtered. https://github.com/vmware-tanzu/crash-diagnostics/blob/main/k8s/client.go#L149
notapod
pod
if len(kinds) > 0 && !strings.Contains(kinds, strings.ToLower(res.Kind)) { continue }
It should use sliceContains to handle the filter.
sliceContains
The text was updated successfully, but these errors were encountered:
Use sliceContains to filter the resources by kinds
kinds
b65815e
fixes vmware-tanzu#210 Signed-off-by: Daniel Jiang <[email protected]>
velero debug
@reasonerjt I just merged #207 Please it out to ensure that this bug is still a problem. If so, rebase your PR and we can get it in.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
If the filter has
notapod
in kinds, thepod
resources will not be filtered.https://github.com/vmware-tanzu/crash-diagnostics/blob/main/k8s/client.go#L149
It should use
sliceContains
to handle the filter.The text was updated successfully, but these errors were encountered: