Skip to content

Commit ad2c80e

Browse files
authored
Move debug to a promote flag instead of a global one (#29)
1 parent 8246dc0 commit ad2c80e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

cmd/services/main.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,6 @@ var (
3434
EnvVars: []string{"GITHUB_TOKEN"},
3535
Required: true,
3636
},
37-
&cli.BoolFlag{
38-
Name: debugFlag,
39-
Usage: "additional debug logging output",
40-
EnvVars: []string{"DEBUG_SERVICES"},
41-
Value: false,
42-
Required: false,
43-
},
4437
}
4538

4639
promoteFlags = []cli.Flag{
@@ -83,6 +76,13 @@ var (
8376
Required: false,
8477
EnvVars: []string{"COMMIT_EMAIL"},
8578
},
79+
&cli.BoolFlag{
80+
Name: debugFlag,
81+
Usage: "additional debug logging output",
82+
EnvVars: []string{"DEBUG_SERVICES"},
83+
Value: false,
84+
Required: false,
85+
},
8686
}
8787
)
8888

0 commit comments

Comments
 (0)