mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 06:10:22 +00:00
6d3e25f069
Following the CSI specification, values that are included in the
VolumeUsage MUST NOT be negative. However, CephFS seems to return -1 for
the number of inodes that are available. Instead of returning a
negative value, set it to 0 so that it will not get included in the
encoded JSON response.
Updates: #2579
See-also:
|
||
---|---|---|
.. | ||
controllerserver-default.go | ||
driver.go | ||
identityserver-default.go | ||
nodeserver-default.go | ||
server.go | ||
utils_test.go | ||
utils.go |