From f91d506545980bb35558846fd5928043cb51db07 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Tue, 28 Nov 2017 20:59:54 -0700 Subject: [PATCH] Assign ClusterName --- config/context.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/context.go b/config/context.go index bce53f26..fcf435f6 100644 --- a/config/context.go +++ b/config/context.go @@ -95,7 +95,8 @@ func (c *ClusterContext) StartAndWait() error { func NewWorkloadContext(clusterConfig, config rest.Config, clusterName string) (*WorkloadContext, error) { var err error context := &WorkloadContext{ - RESTConfig: config, + RESTConfig: config, + ClusterName: clusterName, } context.Cluster, err = NewClusterContext(clusterConfig)