forked from TrueCloudLab/frostfs-node
[#230] shard: Add test for getting SplitInfo
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
bf9e938a3b
commit
7c97bd1360
2 changed files with 59 additions and 1 deletions
|
@ -108,7 +108,7 @@ func WithWriteCache(use bool) Option {
|
|||
}
|
||||
}
|
||||
|
||||
// hasWriteCache returns bool if write cache exists on shars.
|
||||
// hasWriteCache returns bool if write cache exists on shards.
|
||||
func (s Shard) hasWriteCache() bool {
|
||||
return s.cfg.useWriteCache
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue