Explicitly use Core client as EventClient in hollow node

pull/6/head
gmarek 2017-08-03 15:14:58 +02:00
parent ef5ee331cc
commit 20b6b3ca99
1 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ func main() {
}
if config.Morph == "proxy" {
eventClient, err := clientgoclientset.NewForConfig(clientConfig)
client, err := clientgoclientset.NewForConfig(clientConfig)
if err != nil {
glog.Fatalf("Failed to create API Server client: %v", err)
}
@ -147,7 +147,7 @@ func main() {
hollowProxy, err := kubemark.NewHollowProxyOrDie(
config.NodeName,
internalClientset,
eventClient,
client.Core(),
iptInterface,
sysctl,
execer,