From 6dd03934bf290d58c6d1e598965c69fb0e79e09f Mon Sep 17 00:00:00 2001 From: Piyush Kanti Das Date: Mon, 27 Jun 2022 12:34:33 +0600 Subject: [PATCH] Fix lincense checking error. (#1593) /cherry-pick Signed-off-by: piyush1146115 --- pkg/backup.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/backup.go b/pkg/backup.go index 332277ef9..1cc29e858 100644 --- a/pkg/backup.go +++ b/pkg/backup.go @@ -117,6 +117,8 @@ func NewCmdBackup() *cobra.Command { if err != nil { return err } + opt.config = config + opt.kubeClient, err = kubernetes.NewForConfig(config) if err != nil { return err