-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
UPSTREAM: 00000: wait for CRD discovery to be successful once before … #22178
UPSTREAM: 00000: wait for CRD discovery to be successful once before … #22178
Conversation
…reporting success
// may all be present. | ||
_, serverGroupsAndResources, discoveryErr := crdClient.Discovery().ServerGroupsAndResources() | ||
if discoveryErr != nil { | ||
glog.V(2).Info(discoveryErr) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add some context there `glog.V(2).Infof("Failed to fetch discovery: %v", err)
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wonder what are these, 🤷♂️
/lgtm (unhold and retag when you fix the glog) |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, mfojtik The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
/retest |
…reporting success
We need to tolerate discovery errors from aggregated APIs that can be caused by networking or other issues.