lib/model: Check availability later to catch renames (#5097)

This commit is contained in:
Simon Frei
2018-08-19 20:03:20 +02:00
committed by Audrius Butkevicius
parent 9028969617
commit ff3cbdc90d
2 changed files with 13 additions and 15 deletions

View File

@@ -282,7 +282,7 @@ func (l FolderDeviceConfigurationList) Len() int {
return len(l)
}
func (f *FolderConfiguration) CheckFreeSpace() (err error) {
func (f *FolderConfiguration) CheckFreeSpace() error {
return checkFreeSpace(f.MinDiskFree, f.Filesystem())
}