mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
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)
|
||||
func LogInfo1Quiet(text string) {
|
||||
if os.Getenv("DOKKU_QUIET_OUTPUT") != "" {
|
||||
if os.Getenv("DOKKU_QUIET_OUTPUT") == "" {
|
||||
LogInfo1(text)
|
||||
}
|
||||
}
|
||||
@@ -45,7 +45,7 @@ func LogVerbose(text string) {
|
||||
// LogVerboseQuiet is the verbose log formatter
|
||||
// prints indented text to stdout (with quiet option)
|
||||
func LogVerboseQuiet(text string) {
|
||||
if os.Getenv("DOKKU_QUIET_OUTPUT") != "" {
|
||||
if os.Getenv("DOKKU_QUIET_OUTPUT") == "" {
|
||||
LogVerbose(text)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user