forked from TrueCloudLab/frostfs-s3-gw
[#101] app: Refactor the default copies number setting
Signed-off-by: Artem Tataurov <a.tataurov@yadro.com>
This commit is contained in:
parent
bf47978cfe
commit
e24bc3f2ce
4 changed files with 35 additions and 18 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue