From 20b6b3ca99b49b18c3c9f4e04cbae2d463bcf030 Mon Sep 17 00:00:00 2001 From: gmarek Date: Thu, 3 Aug 2017 15:14:58 +0200 Subject: [PATCH] Explicitly use Core client as EventClient in hollow node --- cmd/kubemark/hollow-node.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/kubemark/hollow-node.go b/cmd/kubemark/hollow-node.go index 7e47df5b241..025a954f72e 100644 --- a/cmd/kubemark/hollow-node.go +++ b/cmd/kubemark/hollow-node.go @@ -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,