Skip to content

Commit

Permalink
Implement os.DevNull
Browse files Browse the repository at this point in the history
  • Loading branch information
joselo85 committed Nov 16, 2022
1 parent e984e41 commit 3202bb6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
6 changes: 0 additions & 6 deletions command/connect/envoy/admin_access_log_path_unix.go

This file was deleted.

6 changes: 0 additions & 6 deletions command/connect/envoy/admin_access_log_path_windows.go

This file was deleted.

2 changes: 2 additions & 0 deletions command/connect/envoy/envoy.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ func New(ui cli.Ui) *cmd {
return c
}

const DefaultAdminAccessLogPath = os.DevNull

type cmd struct {
UI cli.Ui
flags *flag.FlagSet
Expand Down

0 comments on commit 3202bb6

Please sign in to comment.