forked from TrueCloudLab/frostfs-node
[#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:
parent
4083a62679
commit
d25b7e177b
1 changed files with 0 additions and 2 deletions
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue