[#1189] node/config: Fix PersistentSessionsConfig.Path method's docs

Method never returns `PersistentStatePathDefault` value, and this is
correct.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2022-09-13 12:02:17 +04:00 committed by LeL
parent 4083a62679
commit d25b7e177b

View file

@ -153,8 +153,6 @@ func PersistentSessions(c *config.Config) PersistentSessionsConfig {
} }
// Path returns the value of "path" config parameter. // Path returns the value of "path" config parameter.
//
// Returns PersistentStatePathDefault if the value is not a non-empty string.
func (p PersistentSessionsConfig) Path() string { func (p PersistentSessionsConfig) Path() string {
return config.String(p.cfg, "path") return config.String(p.cfg, "path")
} }