mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-12 12:48:51 +00:00
Whitespace and old comment removal
This commit is contained in:
@@ -74,7 +74,6 @@ func (e *EndpointController) SyncServiceEndpoints() error {
|
||||
}
|
||||
currentEndpoints, err := e.client.GetEndpoints(nsCtx, service.Name)
|
||||
if err != nil {
|
||||
// TODO this is brittle as all get out, refactor the client libraries to return a structured error.
|
||||
if errors.IsNotFound(err) {
|
||||
currentEndpoints = &api.Endpoints{
|
||||
TypeMeta: api.TypeMeta{
|
||||
|
Reference in New Issue
Block a user