aboutsummaryrefslogtreecommitdiffstats
path: root/commands/webui.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/webui.go')
-rw-r--r--commands/webui.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/webui.go b/commands/webui.go
index 31313146..3129a222 100644
--- a/commands/webui.go
+++ b/commands/webui.go
@@ -42,8 +42,7 @@ type webUIOptions struct {
query string
}
-func newWebUICommand() *cobra.Command {
- env := execenv.NewEnv()
+func newWebUICommand(env *execenv.Env) *cobra.Command {
options := webUIOptions{}
cmd := &cobra.Command{