You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
k8s-ci-robot
added
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
and removed
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
labels
Nov 22, 2024
endpoints, err := c.kubeClient.CoreV1().Endpoints(service.ObjectMeta.Namespace).Get(context.Background(), service.Name, metav1.GetOptions{})
if err != nil {
log.Errorf("Error getting endpoints for service %s: %v\n", service.Name, err)
}
if the service.ObjectMeta.Namespace is empty string i.e. "" it will return endpoint object instead of error returned object:
The text was updated successfully, but these errors were encountered: