31
31
// NOTE(axw) this is a work-around for the TODO below. This
32
32
// means that the command will only work if you've bootstrapped
33
33
// the specified environment.
34
bootstrapConfig, params, err := modelcmd.NewGetBootstrapConfigParamsFunc(c.ClientStore())(c.ControllerName())
34
bootstrapConfig, params, err := modelcmd.NewGetBootstrapConfigParamsFunc(context, c.ClientStore())(c.ControllerName())
36
36
return nil, errors.Trace(err)