Merge pull request #50090 from gmarek/EventClient

Automatic merge from submit-queue (batch tested with PRs 48237, 50084, 50019, 50069, 50090)

Explicitly use Core client as EventClient in hollow node
This commit is contained in:
Kubernetes Submit Queue
2017-08-03 22:22:05 -07:00
committed by GitHub

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,