Skip to content

Commit

Permalink
Update resolver_k8s_handler.go
Browse files Browse the repository at this point in the history
Fixed variable name errors
  • Loading branch information
linliaoy authored Apr 25, 2024
1 parent fc06ac0 commit 82d6561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/loadbalancingexporter/resolver_k8s_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (h handler) OnUpdate(oldObj, newObj any) {
case *corev1.Endpoints:
epRemove := convertToEndpoints(oldEps)
oldEpRemoveMap :=map[string]bool{}
for _,ep:=range EpRemove {
for _,ep:=range epRemove {
oldEpRemoveMap[ep]=true
}
newEps, ok := newObj.(*corev1.Endpoints)
Expand Down

0 comments on commit 82d6561

Please sign in to comment.