Skip to content

Commit

Permalink
Merge pull request #975 from mowangdk/chore/unified_loopdeivce_name
Browse files Browse the repository at this point in the history
Unified loopdevice name
  • Loading branch information
mowangdk authored Feb 22, 2024
2 parents 26ce9ee + a250759 commit 34bdbba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/local/capacity.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func getLoopDeviceCapacity() []*StorageCapacity {
availableBytes := totalAvailableBytes - usedBytes
sc := StorageCapacity{
Name: types.GlobalConfigVar.LocalSparseFileDir,
Type: "loopdevice",
Type: LoopDeviceVolumeType,
Capacity: uint64(availableBytes),
}
scList := []*StorageCapacity{}
Expand Down

0 comments on commit 34bdbba

Please sign in to comment.