We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb206db commit 9b85559Copy full SHA for 9b85559
pkg/jobs/job_list.go
@@ -393,7 +393,8 @@ func JobList() []Job {
393
Timeout: time.Second * 10,
394
Execute: func(dc *data_collector.DataCollector, ctx context.Context, ch chan JobResult) {
395
jobResult := JobResult{Files: make(map[string][]byte), Error: nil}
396
- command := []string{"/bin/sh", "-c", "nginx -T"}
+ //command := []string{"/bin/sh", "-c", "nginx -T"}
397
+ command := []string{"/usr/sbin/nginx", "-T"}
398
for _, namespace := range dc.Namespaces {
399
pods, err := dc.K8sCoreClientSet.CoreV1().Pods(namespace).List(ctx, metav1.ListOptions{})
400
if err != nil {
0 commit comments