Skip to content

Commit 65273f4

Browse files
committed
BUG/MEDIUM: Fix nil pointer dereference in EventEndpoints
1 parent cd86aa5 commit 65273f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/store/events.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ func (k *K8s) EventEndpoints(ns *Namespace, data *Endpoints, syncHAproxySrvs fun
271271
oldData.Status = DELETED
272272
updateRequired = true
273273
} else {
274-
logger.Warningf("Endpoints '%s' not registered with controller, cannot delete !", oldData.Service)
274+
logger.Warningf("Endpoints '%s' not registered with controller, cannot delete !", data.Service.Value)
275275
}
276276
}
277277
return updateRequired

0 commit comments

Comments
 (0)