Allow fractional free space percentages (fixes #2233)

This commit is contained in:
Jakob Borg
2015-09-06 08:47:52 +02:00
parent 66df2e57ae
commit 41c131d840
7 changed files with 24 additions and 18 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ func TestOverriddenValues(t *testing.T) {
DatabaseBlockCacheMiB: 42,
PingTimeoutS: 60,
PingIdleTimeS: 120,
MinHomeDiskFreePct: 5,
MinHomeDiskFreePct: 5.2,
}
cfg, err := Load("testdata/overridenvalues.xml", device1)