Skip to content

Commit

Permalink
[cherry-pick] Fix license checking error. (#1593) (#1597)
Browse files Browse the repository at this point in the history
Signed-off-by: Piyush Kanti Das <[email protected]>
  • Loading branch information
1gtm authored Jun 27, 2022
1 parent b41ddb4 commit 97a59fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 97a59fc

Please sign in to comment.