Roll back pkg client code for Velero server

Signed-off-by: danfengl <danfengl@vmware.com>
This commit is contained in:
danfengl
2023-02-22 14:11:02 +00:00
parent d7defa7fb5
commit 979fb9ccab
15 changed files with 735 additions and 20 deletions
+1 -1
View File
@@ -214,7 +214,7 @@ func userPriorityConfigMap() (*corev1.ConfigMap, error) {
return nil, errors.Wrap(err, "reading client config file")
}
fc := client.NewFactory("APIGroupVersionsRestore", "", cfg)
fc := client.NewFactory("APIGroupVersionsRestore", cfg)
kc, err := fc.KubeClient()
if err != nil {