File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 4
4
"reflect"
5
5
6
6
"github.com/golang/glog"
7
- api_v1 "k8s.io/api/core/v1"
8
7
v1 "k8s.io/api/core/v1"
9
8
"k8s.io/apimachinery/pkg/fields"
10
9
"k8s.io/client-go/tools/cache"
@@ -59,7 +58,7 @@ func (lbc *LoadBalancerController) addConfigMapHandler(handlers cache.ResourceEv
59
58
"configmaps" ,
60
59
namespace ,
61
60
fields .Everything ()),
62
- ObjectType : & api_v1 .ConfigMap {},
61
+ ObjectType : & v1 .ConfigMap {},
63
62
ResyncPeriod : lbc .resync ,
64
63
Handler : handlers ,
65
64
}
@@ -77,7 +76,7 @@ func (lbc *LoadBalancerController) syncConfigMap(task task) {
77
76
return
78
77
}
79
78
if configExists {
80
- lbc .configMap = obj .(* api_v1 .ConfigMap )
79
+ lbc .configMap = obj .(* v1 .ConfigMap )
81
80
externalStatusAddress , exists := lbc .configMap .Data ["external-status-address" ]
82
81
if exists {
83
82
lbc .statusUpdater .SaveStatusFromExternalStatus (externalStatusAddress )
You can’t perform that action at this time.
0 commit comments