Allow --debug to be set with K3S_DEBUG env var

pull/1034/head
Darren Shepherd 2019-11-12 08:19:30 +00:00
parent f3b1ba7fe9
commit 3e213d1347
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ func NewApp() *cli.App {
Name: "debug",
Usage: "Turn on debug logs",
Destination: &debug,
EnvVar: "K3S_DEBUG",
},
}