NTP-13111 | logs added (#470)
This commit is contained in:
7
common/util/env/environment_constant.go
vendored
7
common/util/env/environment_constant.go
vendored
@@ -1,6 +1,10 @@
|
||||
package env
|
||||
|
||||
import "github.com/spf13/viper"
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/spf13/viper"
|
||||
"houston/logger"
|
||||
)
|
||||
|
||||
const (
|
||||
DefaultZendutyTimeout = "DEFAULT_ZENDUTY_TIMEOUT"
|
||||
@@ -18,5 +22,6 @@ const (
|
||||
)
|
||||
|
||||
func IsQAApp() bool {
|
||||
logger.Info(fmt.Sprintf("checking app_name: %s", viper.GetString(APP_NAME)))
|
||||
return viper.GetString(APP_NAME) == QA_APP_NAME
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user