Commit 83942801 authored by Umberto Baldi's avatar Umberto Baldi

move vars on top (like other files)

parent 9131edb8
......@@ -41,7 +41,12 @@ import (
"google.golang.org/grpc"
)
var tr = i18n.Tr
var (
tr = i18n.Tr
daemonize bool
debug bool
debugFilters []string
)
// NewCommand created a new `daemon` command
func NewCommand() *cobra.Command {
......@@ -61,10 +66,6 @@ func NewCommand() *cobra.Command {
return cmd
}
var daemonize bool
var debug bool
var debugFilters []string
func runDaemonCommand(cmd *cobra.Command, args []string) {
if configuration.Settings.GetBool("metrics.enabled") {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment