1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Add a --context option

Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
This commit is contained in:
Sylvain Rabot
2020-11-02 20:50:14 +01:00
parent 9da7ded976
commit 78d7dca985
126 changed files with 136 additions and 54 deletions

View File

@@ -50,7 +50,7 @@ func suspendAlertCmdRun(cmd *cobra.Command, args []string) error {
ctx, cancel := context.WithTimeout(context.Background(), timeout)
defer cancel()
kubeClient, err := utils.KubeClient(kubeconfig)
kubeClient, err := utils.KubeClient(kubeconfig, kubecontext)
if err != nil {
return err
}