fix: need pointer of logger
This commit is contained in:
parent
4348ff6dfe
commit
d212907f5d
|
@ -7,7 +7,7 @@ import (
|
|||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
func initCheckRequiredConfig(logger zap.Logger, config *viper.Viper) error {
|
||||
func initCheckRequiredConfig(logger *zap.Logger, config *viper.Viper) error {
|
||||
required := []string{
|
||||
"core.domain",
|
||||
"core.port",
|
||||
|
|
Loading…
Reference in New Issue