Skip to content

Commit

Permalink
config: Fix warn "unknown config parameter listen-address"
Browse files Browse the repository at this point in the history
Because we know it, it's one of the configuration flags.

Signed-off-by: Tatiana Nesterenko <[email protected]>
  • Loading branch information
tatiana-nspcc committed Jun 3, 2024
1 parent 31875f5 commit 51cdf4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/neofs-rest-gw/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ var knownConfigParams = map[string]struct{}{
cfgPrometheusAddress: {},
cfgPprofEnabled: {},
cfgPprofAddress: {},
cmdListenAddress: {},
}

func validateConfig(cfg *viper.Viper, logger *zap.Logger) {
Expand Down

0 comments on commit 51cdf4f

Please sign in to comment.