1
0
mirror of https://github.com/rancher/types.git synced 2025-07-01 07:51:48 +00:00

Merge pull request #32 from ibuildthecloud/work

Assign ClusterName
This commit is contained in:
Darren Shepherd 2017-11-28 20:02:17 -08:00 committed by GitHub
commit 1e6e3aa9db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)