diff --git a/cmd/influx/query.go b/cmd/influx/query.go index 554b0ee7f3f..879f4eda14a 100644 --- a/cmd/influx/query.go +++ b/cmd/influx/query.go @@ -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" ) @@ -43,7 +43,6 @@ func init() { } func fluxQueryF(cmd *cobra.Command, args []string) error { - flux.FinalizeBuiltIns() if flags.local { diff --git a/cmd/influx/repl.go b/cmd/influx/repl.go index a69887136e1..a74c52811ce 100644 --- a/cmd/influx/repl.go +++ b/cmd/influx/repl.go @@ -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" ) @@ -42,7 +42,6 @@ func init() { } func replF(cmd *cobra.Command, args []string) error { - flux.FinalizeBuiltIns() if flags.local {