From 2ad69f75616ab1bcc0eea58126ad5f2bf1e7a20e Mon Sep 17 00:00:00 2001 From: Jakub Jarosz <99677300+jjngx@users.noreply.github.com> Date: Fri, 13 Sep 2024 19:18:42 +0100 Subject: [PATCH] Remove double import (#6420) --- internal/k8s/service.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/k8s/service.go b/internal/k8s/service.go index e8432f8e42..db94b893de 100644 --- a/internal/k8s/service.go +++ b/internal/k8s/service.go @@ -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" ) @@ -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() {