Merge pull request #21295 from rhvgoyal/fix-variable-assignment
Fix the assignment to wrong variable Upstream-commit: 3df99b7fd2262e4f6ff486408a785de1947257fa Component: engine
This commit is contained in:
@@ -776,7 +776,7 @@ func (devices *DeviceSet) poolHasFreeSpace() error {
|
||||
|
||||
minFreeMetadata := (metadataTotal * uint64(devices.minFreeSpacePercent)) / 100
|
||||
if minFreeMetadata < 1 {
|
||||
minFreeData = 1
|
||||
minFreeMetadata = 1
|
||||
}
|
||||
|
||||
metadataFree := metadataTotal - metadataUsed
|
||||
|
||||
Reference in New Issue
Block a user