From 9ccb5a14bbe514166bfa498968aed8808b93b8a6 Mon Sep 17 00:00:00 2001 From: yanggang Date: Mon, 27 Nov 2023 11:13:52 +0000 Subject: [PATCH] Fix test code wrong code for VeleroInstall Signed-off-by: yanggang --- test/util/velero/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/util/velero/install.go b/test/util/velero/install.go index 9427e19ee..2c45b4c2d 100644 --- a/test/util/velero/install.go +++ b/test/util/velero/install.go @@ -269,7 +269,7 @@ func installVeleroServer(ctx context.Context, cli, cloudProvider string, options } if options.NodeAgentPodCPURequest != "" { - args = append(args, fmt.Sprintf("--node-agent-pod-mem-request=%v", options.NodeAgentPodCPURequest)) + args = append(args, fmt.Sprintf("--node-agent-pod-cpu-request=%v", options.NodeAgentPodCPURequest)) } if options.NodeAgentPodMemLimit != "" {