From c2537737fbabbfcaad1710918bc377eedc92f8a1 Mon Sep 17 00:00:00 2001 From: galal-hussein Date: Wed, 7 Feb 2018 21:39:56 +0200 Subject: [PATCH] Copy local connection dialer factory on update --- cluster/state.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cluster/state.go b/cluster/state.go index 1bbdcf0b1..e0203eaf4 100644 --- a/cluster/state.go +++ b/cluster/state.go @@ -63,6 +63,7 @@ func (c *Cluster) GetClusterState(ctx context.Context) (*Cluster, error) { } currentCluster.Certificates, err = getClusterCerts(ctx, c.KubeClient, currentCluster.EtcdHosts) currentCluster.DockerDialerFactory = c.DockerDialerFactory + currentCluster.LocalConnDialerFactory = c.LocalConnDialerFactory if err != nil { return nil, fmt.Errorf("Failed to Get Kubernetes certificates: %v", err) }