mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 03:47:33 +00:00
fix: gitops backup and restore need a kubernetes client too (#1475)
This commit is contained in:
@@ -42,7 +42,7 @@ func BackupCommand(getRv GetRootValues) *cobra.Command {
|
||||
}
|
||||
|
||||
k8sClient, _, err := cli.Client(monitor, orbConfig, gitClient, rv.Kubeconfig, rv.Gitops)
|
||||
if err != nil && !rv.Gitops {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
@@ -44,7 +44,7 @@ func RestoreCommand(getRv GetRootValues) *cobra.Command {
|
||||
}
|
||||
|
||||
k8sClient, _, err := cli.Client(monitor, orbConfig, gitClient, rv.Kubeconfig, rv.Gitops)
|
||||
if err != nil && !rv.Gitops {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user