fix variable undefined

pull/17930/head
absolutelightning 1 year ago
parent 61140d90bf
commit 55e8a65103

@ -1,6 +0,0 @@
//go:build linux || darwin
// +build linux darwin
package envoy
const DefaultAdminAccessLogPath = "/dev/null"

@ -1,6 +0,0 @@
//go:build windows
// +build windows
package envoy
const DefaultAdminAccessLogPath = "nul"

@ -38,6 +38,8 @@ func New(ui cli.Ui) *cmd {
return c
}
const DefaultAdminAccessLogPath = os.DevNull
type cmd struct {
UI cli.Ui
flags *flag.FlagSet

Loading…
Cancel
Save