forked from TrueCloudLab/frostfs-node
[#1764] neofs-node: Use constants for storage types
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
9113793688
commit
6f45cc81fc
6 changed files with 16 additions and 7 deletions
|
@ -19,7 +19,7 @@ func From(c *config.Config) *Config {
|
|||
|
||||
// Type returns the storage type.
|
||||
func (x *Config) Type() string {
|
||||
return "fstree"
|
||||
return fstree.Type
|
||||
}
|
||||
|
||||
// Depth returns the value of "depth" config parameter.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue