WIP: Morph: Add unit tests #2

Closed
dstepanov-yadro wants to merge 233 commits from TrueCloudLab/frostfs-node:master into object-3608-morph-unit-tests
Showing only changes of commit 0c866f62c5 - Show all commits

View file

@ -86,7 +86,7 @@ func NewTraverser(opts ...Option) (*Traverser, error) {
}
// backward compatibility for scalar `copies_number`
if len(cfg.copyNumbers) == 1 {
if len(cfg.copyNumbers) == 1 && cfg.copyNumbers[0] != 0 {
cfg.flatSuccess = &cfg.copyNumbers[0]
}