Skip to content

Commit

Permalink
[cherry-pick] Fix license checking error. (#1077) (#1079)
Browse files Browse the repository at this point in the history
Signed-off-by: piyush1146115 <[email protected]>
  • Loading branch information
1gtm authored Jun 27, 2022
1 parent ade2cb8 commit ab3747d
Show file tree
Hide file tree
Showing 2 changed files with 4 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 @@ -66,6 +66,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
2 changes: 2 additions & 0 deletions pkg/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ func NewCmdRestore() *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 ab3747d

Please sign in to comment.