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 58392fc commit 96e5e33Copy full SHA for 96e5e33
internal/jobs/job_list.go
@@ -32,7 +32,7 @@ func K8sJobList() []Job {
32
Name: "service-list",
33
OutputFile: "/list/services.json",
34
RetrieveFunction: func(c *kubernetes.Clientset, ctx context.Context) []byte {
35
- pods, _ := c.CoreV1().ConfigMaps("").List(ctx, v1.ListOptions{})
+ pods, _ := c.CoreV1().Services("").List(ctx, v1.ListOptions{})
36
jsonPods, _ := json.MarshalIndent(pods, "", " ")
37
return jsonPods
38
},
0 commit comments