Skip to content

Commit

Permalink
feat:update1
Browse files Browse the repository at this point in the history
Signed-off-by: Mihir Mittal <105881639+mihirm21@users.noreply.github.com>
  • Loading branch information
mihirm21 committed Jan 30, 2023
1 parent 944b2bf commit 38f857e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ var startCmd = &cobra.Command{

if viper.GetString(syncProviderFlagName) != "" {
rtLogger.Warn("DEPRECATED: the --sync-provider flag has been deprecated " +
"Docs: https://github.com/open-feature/flagd/blob/main/docs/configuration.md")
"Docs: https://github.com/open-feature/flagd/blob/main/docs/configuration/configuration.md")
}

if viper.GetString(evaluatorFlagName) != "" {
if viper.GetString(evaluatorFlagName) != "json" {
rtLogger.Warn("DEPRECATED: the --evaluator flag has been deprecated " +
"Docs: https://github.com/open-feature/flagd/blob/main/docs/configuration.md")
"Docs: https://github.com/open-feature/flagd/blob/main/docs/configuration/configuration.md")
}
// Build Runtime -----------------------------------------------------------
rt, err := runtime.FromConfig(logger, runtime.Config{
Expand Down
3 changes: 0 additions & 3 deletions pkg/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,6 @@ func NewZapLogger(level zapcore.Level, logFormat string) (*zap.Logger, error) {
},
DisableCaller: false,
}
if cfg.Encoding == "" {
cfg.Encoding = "console"
}
return cfg.Build()
}

Expand Down

0 comments on commit 38f857e

Please sign in to comment.