Skip to content

Commit

Permalink
fix(cmd/influx): remove unnecesary newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
Faith Chikwekwe authored and Faith Chikwekwe committed Nov 6, 2019
1 parent bdd6c6e commit 9953f87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions cmd/influx/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"github.com/influxdata/flux"

"github.com/influxdata/flux/repl"
_ "github.com/influxdata/flux/stdlib" // Import the stdlib
_ "github.com/influxdata/flux/stdlib"
platform "github.com/influxdata/influxdb"
_ "github.com/influxdata/influxdb/query/stdlib" // Import the stdlib
_ "github.com/influxdata/influxdb/query/stdlib"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
Expand Down Expand Up @@ -43,7 +43,6 @@ func init() {
}

func fluxQueryF(cmd *cobra.Command, args []string) error {

flux.FinalizeBuiltIns()

if flags.local {
Expand Down
5 changes: 2 additions & 3 deletions cmd/influx/repl.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (

"github.com/influxdata/flux"
"github.com/influxdata/flux/repl"
_ "github.com/influxdata/flux/stdlib" // Import the stdlib
_ "github.com/influxdata/flux/stdlib"
platform "github.com/influxdata/influxdb"
"github.com/influxdata/influxdb/http"
"github.com/influxdata/influxdb/query"
_ "github.com/influxdata/influxdb/query/stdlib" // Import the stdlib
_ "github.com/influxdata/influxdb/query/stdlib"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
Expand Down Expand Up @@ -42,7 +42,6 @@ func init() {
}

func replF(cmd *cobra.Command, args []string) error {

flux.FinalizeBuiltIns()

if flags.local {
Expand Down

0 comments on commit 9953f87

Please sign in to comment.