[#101] app: Refactor the default copies number setting

Signed-off-by: Artem Tataurov <a.tataurov@yadro.com>
This commit is contained in:
Artem Tataurov 2023-05-16 17:24:10 +03:00
parent bf47978cfe
commit e24bc3f2ce
4 changed files with 35 additions and 18 deletions

View file

@ -13,8 +13,8 @@ func TestCopiesNumberPicker(t *testing.T) {
locConstraints[locationConstraint1] = []uint32{2, 3, 4}
config := &Config{
CopiesNumber: 1,
CopiesNumbers: locConstraints,
DefaultCopiesNumbers: []uint32{1},
CopiesNumbers: locConstraints,
}
h := handler{
cfg: config,