Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get zfs_userspace error from correct handle (#222)
We should be getting error from libzfs handle and not dataset handle. ``` File "libzfs.pyx", line 461, in libzfs.ZFS.__exit__ File "/usr/local/lib/python3.9/dist-packages/middlewared/plugins/zfs.py", line 743, in get_quota quotas = resource.userspace(quota_props) File "libzfs.pyx", line 3523, in libzfs.ZFSResource.userspace AttributeError: 'libzfs.ZFSDataset' object has no attribute 'get_error' ```
- Loading branch information