chore: fix lint errors (#2520)
This commit is contained in:
@@ -115,7 +115,7 @@ func (h *EventHandler) Update(endpoints *v1.Endpoints) {
|
||||
}
|
||||
|
||||
func (h *EventHandler) notify() {
|
||||
var targets []string
|
||||
targets := make([]string, 0, len(h.endpoints))
|
||||
|
||||
for k := range h.endpoints {
|
||||
targets = append(targets, k)
|
||||
|
||||
Reference in New Issue
Block a user