chore: bump salt version to v0.2.4 by sudo-suhas · Pull Request #468 · raystack/meteor
Expand Up
@@ -52,16 +52,16 @@ func ListExtCmd() *cobra.Command {
"group:core": "true",
},
Run: func(cmd *cobra.Command, args []string) {
cs := term.NewColorScheme()
extractors := registry.Extractors.List() fmt.Printf(" \nShowing %d of %d extractors\n \n", len(extractors), len(extractors))
report := [][]string{} index := 1
for n, i := range extractors { report = append(report, []string{cs.Greenf("#%02d", index), n, i.Description, cs.Greyf(" (%s)", strings.Join(i.Tags, ", "))}) report = append(report, []string{ term.Greenf("#%02d", index), n, i.Description, term.Greyf(" (%s)", strings.Join(i.Tags, ", ")), }) index++ } printer.Table(os.Stdout, report) Expand Down Expand Up @@ -92,15 +92,15 @@ func ListSinksCmd() *cobra.Command { "group:core": "true", }, Run: func(cmd *cobra.Command, args []string) { cs := term.NewColorScheme()
sinks := registry.Sinks.List() fmt.Printf(" \nShowing %d of %d sinks\n \n", len(sinks), len(sinks))
report := [][]string{} index := 1 for n, i := range sinks { report = append(report, []string{cs.Greenf("#%02d", index), n, i.Description, cs.Greyf(" (%s)", strings.Join(i.Tags, ", "))}) report = append(report, []string{ term.Greenf("#%02d", index), n, i.Description, term.Greyf(" (%s)", strings.Join(i.Tags, ", ")), }) index++ } printer.Table(os.Stdout, report) Expand Down Expand Up @@ -131,16 +131,16 @@ func ListProccCmd() *cobra.Command { "group:core": "true", }, Run: func(cmd *cobra.Command, args []string) { cs := term.NewColorScheme()
processors := registry.Processors.List() fmt.Printf(" \nShowing %d of %d processors\n \n", len(processors), len(processors))
report := [][]string{} index := 1
for n, i := range processors { report = append(report, []string{cs.Greenf("#%02d", index), n, i.Description, cs.Greyf(" (%s)", strings.Join(i.Tags, ", "))}) report = append(report, []string{ term.Greenf("#%02d", index), n, i.Description, term.Greyf(" (%s)", strings.Join(i.Tags, ", ")), }) index++ } printer.Table(os.Stdout, report) Expand Down
extractors := registry.Extractors.List() fmt.Printf(" \nShowing %d of %d extractors\n \n", len(extractors), len(extractors))
report := [][]string{} index := 1
for n, i := range extractors { report = append(report, []string{cs.Greenf("#%02d", index), n, i.Description, cs.Greyf(" (%s)", strings.Join(i.Tags, ", "))}) report = append(report, []string{ term.Greenf("#%02d", index), n, i.Description, term.Greyf(" (%s)", strings.Join(i.Tags, ", ")), }) index++ } printer.Table(os.Stdout, report) Expand Down Expand Up @@ -92,15 +92,15 @@ func ListSinksCmd() *cobra.Command { "group:core": "true", }, Run: func(cmd *cobra.Command, args []string) { cs := term.NewColorScheme()
sinks := registry.Sinks.List() fmt.Printf(" \nShowing %d of %d sinks\n \n", len(sinks), len(sinks))
report := [][]string{} index := 1 for n, i := range sinks { report = append(report, []string{cs.Greenf("#%02d", index), n, i.Description, cs.Greyf(" (%s)", strings.Join(i.Tags, ", "))}) report = append(report, []string{ term.Greenf("#%02d", index), n, i.Description, term.Greyf(" (%s)", strings.Join(i.Tags, ", ")), }) index++ } printer.Table(os.Stdout, report) Expand Down Expand Up @@ -131,16 +131,16 @@ func ListProccCmd() *cobra.Command { "group:core": "true", }, Run: func(cmd *cobra.Command, args []string) { cs := term.NewColorScheme()
processors := registry.Processors.List() fmt.Printf(" \nShowing %d of %d processors\n \n", len(processors), len(processors))
report := [][]string{} index := 1
for n, i := range processors { report = append(report, []string{cs.Greenf("#%02d", index), n, i.Description, cs.Greyf(" (%s)", strings.Join(i.Tags, ", "))}) report = append(report, []string{ term.Greenf("#%02d", index), n, i.Description, term.Greyf(" (%s)", strings.Join(i.Tags, ", ")), }) index++ } printer.Table(os.Stdout, report) Expand Down