Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: Handle unsupported response from drivers (From Incus) (#14007)
This goes from a 500 resp to something that looks like this if the driver reports `ErrNotSupported`: ```json { "usage": null } ``` For example, a btrfs volume [without a quota set](https://github.com/canonical/lxd/blob/main/lxd/storage/drivers/driver_btrfs_volumes.go#L892). It makes sense to me to pass through the lack of quota rather than just failing the entire request/response. Contains cherry-picks from lxc/incus#1143
- Loading branch information