Skip to content

Commit

Permalink
fix list available probe output
Browse files Browse the repository at this point in the history
  • Loading branch information
jzwlqx committed Sep 25, 2023
1 parent 35411a6 commit 83c743c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/exporter/cmd/list_probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ var (
Use: "probe",
Short: "list supported probe with metric exporting",
Run: func(cmd *cobra.Command, args []string) {
res := map[string][]string{
"metric": {},
"event": {},
}
res := make(map[string][]string)
res["metrics"] = probe.ListMetricsProbes()
res["event"] = probe.ListEventProbes()

Expand Down

0 comments on commit 83c743c

Please sign in to comment.