mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 05:46:37 +00:00
Merge branch 'main' into issue-fix-6663
This commit is contained in:
@@ -490,7 +490,7 @@ func (s *nodeAgentServer) markInProgressPVRsFailed(client ctrlclient.Client) {
|
||||
}
|
||||
|
||||
func (s *nodeAgentServer) getDataPathConcurrentNum(defaultNum int, logger logrus.FieldLogger) int {
|
||||
configs, err := nodeagent.GetConfigs(s.ctx, s.namespace, s.kubeClient.CoreV1())
|
||||
configs, err := nodeagent.GetConfigs(s.ctx, s.namespace, s.kubeClient)
|
||||
if err != nil {
|
||||
logger.WithError(err).Warn("Failed to get node agent configs")
|
||||
return defaultNum
|
||||
|
||||
Reference in New Issue
Block a user