mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
fix(cas): add cas-type key for zfs under volume attributes (#338)
Signed-off-by: Abhinandan-Purkait <abhinandan.purkait@mayadata.io>
This commit is contained in:
parent
3eb2c9e894
commit
83f24628ab
2 changed files with 5 additions and 1 deletions
|
|
@ -472,7 +472,7 @@ func (cs *controller) CreateVolume(
|
|||
}
|
||||
|
||||
topology := map[string]string{zfs.ZFSTopologyKey: nodeid}
|
||||
cntx := map[string]string{zfs.PoolNameKey: pool}
|
||||
cntx := map[string]string{zfs.PoolNameKey: pool, zfs.OpenEBSCasTypeKey: zfs.ZFSCasTypeName}
|
||||
|
||||
return csipayload.NewCreateVolumeResponseBuilder().
|
||||
WithName(volName).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue