Skip to content

Commit

Permalink
fix: PR Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartcarnie committed Nov 12, 2020
1 parent 42aabb2 commit aa8064a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cmd/influxd/inspect/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ package inspect

import (
"github.com/spf13/cobra"
"github.com/spf13/viper"
)

// NewCommand creates the new command.
func NewCommand(_ *viper.Viper) *cobra.Command {
func NewCommand() *cobra.Command {
base := &cobra.Command{
Use: "inspect",
Short: "Commands for inspecting on-disk database data",
Expand Down
2 changes: 1 addition & 1 deletion cmd/influxd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func main() {
rootCmd := launcher.NewInfluxdCommand(context.Background(), v)
// upgrade binds options to env variables, so it must be added after rootCmd is initialized
rootCmd.AddCommand(upgrade.NewCommand(v))
rootCmd.AddCommand(inspect.NewCommand(v))
rootCmd.AddCommand(inspect.NewCommand())
rootCmd.AddCommand(versionCmd())

rootCmd.SilenceUsage = true
Expand Down

0 comments on commit aa8064a

Please sign in to comment.