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:
parent
1ef109c042
commit
60fe4a0800
|
@ -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,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue