fix (localpv): fixing CSIStorageCapacity when "poolname" param has child dataset (#393)

Signed-off-by: Fábián Tamás László <giganetom@gmail.com>
This commit is contained in:
Fábián Tamás László 2021-10-05 16:54:11 +02:00 committed by GitHub
parent 0ef2444eea
commit 37a5cb80e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 1 deletions

View file

@ -0,0 +1,3 @@
Fixes GetCapacity in pkg/driver/controller.go to report the ZFS pool
capacity even when using a child dataset at the storage class' poolname
attribute.