Skip to content

Commit 1ec86c6

Browse files
committed
polish review
Signed-off-by: Jared Tan <[email protected]>
1 parent ad620f7 commit 1ec86c6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

cmd/es-rollover/app/init/flags.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ func (*Config) AddFlags(flags *flag.FlagSet) {
6262

6363
// InitFromViper initializes config from viper.Viper.
6464
func (c *Config) InitFromViper(v *viper.Viper) {
65-
6665
deprecatedNumShards := v.GetInt(shards)
6766
deprecatedReplicaShards := v.GetInt(replicas)
6867

cmd/esmapping-generator/app/flags.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
package app
1616

1717
import (
18-
"github.com/jaegertracing/jaeger/pkg/es/config"
19-
"github.com/spf13/cobra"
2018
"log"
19+
20+
"github.com/spf13/cobra"
21+
22+
"github.com/jaegertracing/jaeger/pkg/es/config"
2123
)
2224

2325
// Options represent configurable parameters for jaeger-esmapping-generator

0 commit comments

Comments
 (0)