Commit 20b6b3ca authored by gmarek's avatar gmarek

Explicitly use Core client as EventClient in hollow node

parent ef5ee331
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment