Skip to content

Commit

Permalink
polish review
Browse files Browse the repository at this point in the history
  • Loading branch information
JaredTan95 committed Aug 13, 2024
1 parent 628c2ac commit 54e2590
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion cmd/es-rollover/app/init/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ func (*Config) AddFlags(flags *flag.FlagSet) {

// InitFromViper initializes config from viper.Viper.
func (c *Config) InitFromViper(v *viper.Viper) {

deprecatedNumShards := v.GetInt(shards)
deprecatedReplicaShards := v.GetInt(replicas)

Expand Down
6 changes: 4 additions & 2 deletions cmd/esmapping-generator/app/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
package app

import (
"github.com/jaegertracing/jaeger/pkg/es/config"
"github.com/spf13/cobra"
"log"

"github.com/spf13/cobra"

"github.com/jaegertracing/jaeger/pkg/es/config"
)

// Options represent configurable parameters for jaeger-esmapping-generator
Expand Down

0 comments on commit 54e2590

Please sign in to comment.