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)