mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
tests: Fixes agnhost logs-generator usage
Cobra flags have 2 dashes, not 1.
This commit is contained in:
parent
879f289ed7
commit
6b7a641c96
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user