diff --git a/cmd/jaeger/features/main.go b/cmd/jaeger/features/displayFeatures.go similarity index 98% rename from cmd/jaeger/features/main.go rename to cmd/jaeger/features/displayFeatures.go index 0c59a13b204..d8d2084ea51 100644 --- a/cmd/jaeger/features/main.go +++ b/cmd/jaeger/features/displayFeatures.go @@ -19,7 +19,7 @@ import ( "github.com/jaegertracing/jaeger/pkg/version" ) -func RunFeatures() { +func DisplayFeatures() { info := component.BuildInfo{ Command: "jaeger", Description: internal.GetDescription(), diff --git a/cmd/jaeger/internal/command.go b/cmd/jaeger/internal/command.go index e98459e2222..64279fb3b90 100644 --- a/cmd/jaeger/internal/command.go +++ b/cmd/jaeger/internal/command.go @@ -26,7 +26,7 @@ var yamlAllInOne embed.FS const description = "Jaeger backend v2" -func GetDescription() string { +func GetDescription() string{ return description } diff --git a/cmd/jaeger/main.go b/cmd/jaeger/main.go index e69f8ce8c4f..dcb03e6ef83 100644 --- a/cmd/jaeger/main.go +++ b/cmd/jaeger/main.go @@ -39,7 +39,7 @@ func featuresCommand() *cobra.Command { Short: "Displays the list of supported features", Long: "The 'features' command shows all supported features in the current build of Jaeger.", Run: func(_ *cobra.Command, _ []string) { - features.RunFeatures() + features.DisplayFeatures() }, } }