[#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>
support/v0.34
Leonard Lyubich 2022-09-13 12:02:17 +04:00 committed by LeL
parent 4083a62679
commit d25b7e177b
1 changed files with 0 additions and 2 deletions

View File

@ -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")
}