From 6b7a641c9603fa1e70a25a731f74f9460cea3d71 Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Wed, 26 Jun 2019 11:38:38 -0700 Subject: [PATCH] tests: Fixes agnhost logs-generator usage Cobra flags have 2 dashes, not 1. --- test/e2e/instrumentation/logging/utils/logging_pod.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/instrumentation/logging/utils/logging_pod.go b/test/e2e/instrumentation/logging/utils/logging_pod.go index 1b918e01eec..160ca0294d2 100644 --- a/test/e2e/instrumentation/logging/utils/logging_pod.go +++ b/test/e2e/instrumentation/logging/utils/logging_pod.go @@ -106,7 +106,7 @@ func (p *loadLoggingPod) Start(f *framework.Framework) error { { Name: loggingContainerName, Image: imageutils.GetE2EImage(imageutils.Agnhost), - Args: []string{"logs-generator", "-log-lines-total", strconv.Itoa(p.expectedLinesCount), "-run-duration", p.runDuration.String()}, + Args: []string{"logs-generator", "--log-lines-total", strconv.Itoa(p.expectedLinesCount), "--run-duration", p.runDuration.String()}, Resources: v1.ResourceRequirements{ Requests: v1.ResourceList{ v1.ResourceCPU: *resource.NewMilliQuantity(