mirror of
https://github.com/rancher/types.git
synced 2025-07-01 07:51:48 +00:00
commit
1e6e3aa9db
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user