-
Notifications
You must be signed in to change notification settings - Fork 475
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix windows unit testing of logger set cli command.
Signed-off-by: Edwin Buck <[email protected]>
- Loading branch information
Showing
3 changed files
with
28 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
//go:build !windows | ||
|
||
package logger_test | ||
|
||
var ( | ||
setUsage = `Usage of logger set: | ||
-level string | ||
The new log level, one of (panic, fatal, error, warn, info, debug, trace, launch) | ||
-output value | ||
Desired output format (pretty, json); default: pretty. | ||
-socketPath string | ||
Path to the SPIRE Server API socket (default "/tmp/spire-server/private/api.sock") | ||
` | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
//go:build windows | ||
|
||
package logger_test | ||
|
||
var ( | ||
setUsage = `Usage of logger set: | ||
-level string | ||
The new log level, one of (panic, fatal, error, warn, info, debug, trace, launch) | ||
-namedPipeName string | ||
Pipe name of the SPIRE Server API named pipe (default "\\spire-server\\private\\api") | ||
-output value | ||
Desired output format (pretty, json); default: pretty. | ||
` | ||
) |