fix: correct the DOKKU_QUIET_OUTPUT env var check for golang log methods
This commit is contained in:
@@ -19,7 +19,7 @@ func LogInfo1(text string) {
|
|||||||
|
|
||||||
// LogInfo1Quiet is the info1 header formatter (with quiet option)
|
// LogInfo1Quiet is the info1 header formatter (with quiet option)
|
||||||
func LogInfo1Quiet(text string) {
|
func LogInfo1Quiet(text string) {
|
||||||
if os.Getenv("DOKKU_QUIET_OUTPUT") != "" {
|
if os.Getenv("DOKKU_QUIET_OUTPUT") == "" {
|
||||||
LogInfo1(text)
|
LogInfo1(text)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -45,7 +45,7 @@ func LogVerbose(text string) {
|
|||||||
// LogVerboseQuiet is the verbose log formatter
|
// LogVerboseQuiet is the verbose log formatter
|
||||||
// prints indented text to stdout (with quiet option)
|
// prints indented text to stdout (with quiet option)
|
||||||
func LogVerboseQuiet(text string) {
|
func LogVerboseQuiet(text string) {
|
||||||
if os.Getenv("DOKKU_QUIET_OUTPUT") != "" {
|
if os.Getenv("DOKKU_QUIET_OUTPUT") == "" {
|
||||||
LogVerbose(text)
|
LogVerbose(text)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user