mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 14:30:12 +01:00
test(zfspv): adding zfs property update test cases
Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
parent
620be59016
commit
754755439b
7 changed files with 180 additions and 41 deletions
|
|
@ -89,7 +89,7 @@ func (c *ZVController) syncZV(zv *apis.ZFSVolume) error {
|
|||
// the volume. And if it is set then volume has already been
|
||||
// created and this event is for property change only.
|
||||
if zv.Finalizers != nil {
|
||||
err = zfs.SetZvolProp(zv)
|
||||
err = zfs.SetVolumeProp(zv)
|
||||
} else {
|
||||
err = zfs.CreateVolume(zv)
|
||||
if err == nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue