Skip to content

Commit

Permalink
TUN-8769: fix k8s log collector arguments
Browse files Browse the repository at this point in the history
## Summary

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

Closes TUN-8769
  • Loading branch information
lmpn committed Dec 3, 2024
1 parent 1ef109c commit 60fe4a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions diagnostic/log_collector_kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -52,9 +52,9 @@ func (collector *KubernetesLogCollector) Collect(ctx context.Context) (*LogInfor
"kubectl",
"logs",
collector.pod,
"--since-time=",
"--since-time",
since,
"--tail=",
"--tail",
tailMaxNumberOfLines,
)
}
Expand Down

0 comments on commit 60fe4a0

Please sign in to comment.