mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 14:30:12 +01:00
fix(clone): setting properties on the clone volume
Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
parent
fd2ec40fb5
commit
0e75d89c64
2 changed files with 33 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ func CreateZFSClone(req *csi.CreateVolumeRequest, snapshot string) (string, erro
|
|||
}
|
||||
|
||||
if snap.Spec.Capacity != volsize {
|
||||
return "", status.Error(codes.Internal, "resize not supported")
|
||||
return "", status.Error(codes.Internal, "clone volume size is not matching")
|
||||
}
|
||||
|
||||
selected := snap.Spec.OwnerNodeID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue