Skip to content

Commit

Permalink
Remove double import (#6420)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjngx authored Sep 13, 2024
1 parent 3616a90 commit 2ad69f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/k8s/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"sort"

"github.com/golang/glog"
api_v1 "k8s.io/api/core/v1"
v1 "k8s.io/api/core/v1"
"k8s.io/client-go/tools/cache"
)
Expand Down Expand Up @@ -147,7 +146,7 @@ func (lbc *LoadBalancerController) syncService(task task) {
lbc.statusUpdater.ClearStatusFromExternalService()
} else {
// service added or updated
lbc.statusUpdater.SaveStatusFromExternalService(obj.(*api_v1.Service))
lbc.statusUpdater.SaveStatusFromExternalService(obj.(*v1.Service))
}

if lbc.reportStatusEnabled() {
Expand Down

0 comments on commit 2ad69f7

Please sign in to comment.