mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
rbd: remove topologyConstrainedPools parameter
This commit removes the `topologyConstrainedPools` parameter from PV volumeAttributes as it is not required. Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
@ -353,7 +353,6 @@ func attachRBDImage(ctx context.Context, volOptions *rbdVolume, device string, c
|
||||
}
|
||||
|
||||
err = waitForrbdImage(ctx, backoff, volOptions)
|
||||
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
@ -364,7 +363,7 @@ func attachRBDImage(ctx context.Context, volOptions *rbdVolume, device string, c
|
||||
}
|
||||
|
||||
func appendNbdDeviceTypeAndOptions(cmdArgs []string, userOptions, cookie string) []string {
|
||||
isUnmap := CheckSliceContains(cmdArgs, "unmap")
|
||||
isUnmap := util.CheckSliceContains(cmdArgs, "unmap")
|
||||
if !isUnmap {
|
||||
if !strings.Contains(userOptions, useNbdNetlink) {
|
||||
cmdArgs = append(cmdArgs, "--"+useNbdNetlink)
|
||||
|
Reference in New Issue
Block a user