mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-03 11:45:20 +00:00
recall repo maintenance history on restart
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
This commit is contained in:
@@ -480,7 +480,7 @@ func (s *server) checkNodeAgent() {
|
||||
|
||||
func (s *server) initRepoManager() error {
|
||||
// ensure the repo key secret is set up
|
||||
if err := repokey.EnsureCommonRepositoryKey(s.kubeClient.CoreV1(), s.namespace); err != nil {
|
||||
if err := repokey.EnsureCommonRepositoryKey(s.mgr.GetClient(), s.namespace); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user