Skip to content

Commit 8394280

Browse files
committed
move vars on top (like other files)
1 parent 9131edb commit 8394280

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

cli/daemon/daemon.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@ import (
4141
"google.golang.org/grpc"
4242
)
4343

44-
var tr = i18n.Tr
44+
var (
45+
tr = i18n.Tr
46+
daemonize bool
47+
debug bool
48+
debugFilters []string
49+
)
4550

4651
// NewCommand created a new `daemon` command
4752
func NewCommand() *cobra.Command {
@@ -61,10 +66,6 @@ func NewCommand() *cobra.Command {
6166
return cmd
6267
}
6368

64-
var daemonize bool
65-
var debug bool
66-
var debugFilters []string
67-
6869
func runDaemonCommand(cmd *cobra.Command, args []string) {
6970

7071
if configuration.Settings.GetBool("metrics.enabled") {

0 commit comments

Comments
 (0)