forked from TrueCloudLab/frostfs-node
[#1687] *: Perform go fmt
using go v1.19
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
37ab26bfa9
commit
30341f2192
25 changed files with 114 additions and 112 deletions
|
@ -236,8 +236,8 @@ func WithRefillMetabase(v bool) Option {
|
|||
}
|
||||
|
||||
// WithMode returns option to set shard's mode. Mode must be one of the predefined:
|
||||
// - mode.ReadWrite;
|
||||
// - mode.ReadOnly.
|
||||
// - mode.ReadWrite;
|
||||
// - mode.ReadOnly.
|
||||
func WithMode(v mode.Mode) Option {
|
||||
return func(c *cfg) {
|
||||
c.info.Mode = v
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue