TUN-8769: fix k8s log collector arguments

## Summary

The equal signs were making the exec command to fail removing them fixes the issue.

Closes TUN-8769
This commit is contained in:
Luis Neto 2024-12-03 06:24:14 -08:00
parent 1ef109c042
commit 60fe4a0800
1 changed files with 4 additions and 4 deletions

View File

@ -39,9 +39,9 @@ func (collector *KubernetesLogCollector) Collect(ctx context.Context) (*LogInfor
"kubectl",
"logs",
collector.pod,
"--since-time=",
"--since-time",
since,
"--tail=",
"--tail",
tailMaxNumberOfLines,
"-c",
collector.containerID,
@ -52,9 +52,9 @@ func (collector *KubernetesLogCollector) Collect(ctx context.Context) (*LogInfor
"kubectl",
"logs",
collector.pod,
"--since-time=",
"--since-time",
since,
"--tail=",
"--tail",
tailMaxNumberOfLines,
)
}