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

MOD:ListPods isNotFound error add #89

Merged
merged 1 commit into from
Nov 7, 2019
Merged

Conversation

calmkart
Copy link
Contributor

@calmkart calmkart commented Nov 7, 2019

Refine the error judgment logic.
distinguish ListPods isNotFound error to other errors.
because of the
log.Warnf("WARNING: No Running Pods found for %s: %s\n", selector, err.Error())
i think use errors.IsNotFound(err) is better.

@cjimti cjimti merged commit 68259d2 into txn2:master Nov 7, 2019
D3-LucaPiombino pushed a commit to CodeCoil/kubefwd that referenced this pull request Jun 13, 2024
MOD:ListPods isNotFound error add
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