From d25b7e177b3f7b9409bcfece2929bc01d0c0e021 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Tue, 13 Sep 2022 12:02:17 +0400 Subject: [PATCH] [#1189] node/config: Fix `PersistentSessionsConfig.Path` method's docs Method never returns `PersistentStatePathDefault` value, and this is correct. Signed-off-by: Leonard Lyubich --- cmd/neofs-node/config/node/config.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/neofs-node/config/node/config.go b/cmd/neofs-node/config/node/config.go index d43a6ef5..31595643 100644 --- a/cmd/neofs-node/config/node/config.go +++ b/cmd/neofs-node/config/node/config.go @@ -153,8 +153,6 @@ func PersistentSessions(c *config.Config) PersistentSessionsConfig { } // Path returns the value of "path" config parameter. -// -// Returns PersistentStatePathDefault if the value is not a non-empty string. func (p PersistentSessionsConfig) Path() string { return config.String(p.cfg, "path") }