diff --git a/command/connect/envoy/admin_access_log_path_unix.go b/command/connect/envoy/admin_access_log_path_unix.go deleted file mode 100644 index aedaa15668..0000000000 --- a/command/connect/envoy/admin_access_log_path_unix.go +++ /dev/null @@ -1,6 +0,0 @@ -//go:build linux || darwin -// +build linux darwin - -package envoy - -const DefaultAdminAccessLogPath = "/dev/null" diff --git a/command/connect/envoy/admin_access_log_path_windows.go b/command/connect/envoy/admin_access_log_path_windows.go deleted file mode 100644 index d5e7832476..0000000000 --- a/command/connect/envoy/admin_access_log_path_windows.go +++ /dev/null @@ -1,6 +0,0 @@ -//go:build windows -// +build windows - -package envoy - -const DefaultAdminAccessLogPath = "nul" diff --git a/command/connect/envoy/envoy.go b/command/connect/envoy/envoy.go index bb8104040d..7399e2eb6b 100644 --- a/command/connect/envoy/envoy.go +++ b/command/connect/envoy/envoy.go @@ -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