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",
|
"kubectl",
|
||||||
"logs",
|
"logs",
|
||||||
collector.pod,
|
collector.pod,
|
||||||
"--since-time=",
|
"--since-time",
|
||||||
since,
|
since,
|
||||||
"--tail=",
|
"--tail",
|
||||||
tailMaxNumberOfLines,
|
tailMaxNumberOfLines,
|
||||||
"-c",
|
"-c",
|
||||||
collector.containerID,
|
collector.containerID,
|
||||||
|
@ -52,9 +52,9 @@ func (collector *KubernetesLogCollector) Collect(ctx context.Context) (*LogInfor
|
||||||
"kubectl",
|
"kubectl",
|
||||||
"logs",
|
"logs",
|
||||||
collector.pod,
|
collector.pod,
|
||||||
"--since-time=",
|
"--since-time",
|
||||||
since,
|
since,
|
||||||
"--tail=",
|
"--tail",
|
||||||
tailMaxNumberOfLines,
|
tailMaxNumberOfLines,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue