Skip to content

Commit

Permalink
Remove double import
Browse files Browse the repository at this point in the history
  • Loading branch information
jjngx committed Sep 13, 2024
1 parent 8ffe098 commit 9847a43
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))

Check warning on line 149 in internal/k8s/service.go

View check run for this annotation

Codecov / codecov/patch

internal/k8s/service.go#L149

Added line #L149 was not covered by tests
}

if lbc.reportStatusEnabled() {
Expand Down

0 comments on commit 9847a43

Please sign in to comment.