From 51cdf4f300da93852b97b14bc8134c65fbe81919 Mon Sep 17 00:00:00 2001 From: Tatiana Nesterenko Date: Mon, 3 Jun 2024 14:45:57 +0100 Subject: [PATCH] config: Fix warn "unknown config parameter listen-address" Because we know it, it's one of the configuration flags. Signed-off-by: Tatiana Nesterenko --- cmd/neofs-rest-gw/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/neofs-rest-gw/config.go b/cmd/neofs-rest-gw/config.go index 86fc909..dba3e33 100644 --- a/cmd/neofs-rest-gw/config.go +++ b/cmd/neofs-rest-gw/config.go @@ -285,6 +285,7 @@ var knownConfigParams = map[string]struct{}{ cfgPrometheusAddress: {}, cfgPprofEnabled: {}, cfgPprofAddress: {}, + cmdListenAddress: {}, } func validateConfig(cfg *viper.Viper, logger *zap.Logger) {