fix(clone): setting properties on the clone volume

Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
Pawan 2020-03-10 18:47:50 +05:30 committed by Kiran Mova
parent fd2ec40fb5
commit 0e75d89c64
2 changed files with 33 additions and 1 deletions

View file

@ -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