mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
rbd: set disableInUseChecks on rbd volume
set disableInUseChecks on rbd volume struct as it will be used later to check whether the rbd image is allowed to mount on multiple nodes. fixes: #3604 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
c1a636b431
commit
d5278bd6c5
@ -200,6 +200,8 @@ func populateRbdVol(
|
||||
}
|
||||
}
|
||||
|
||||
rv.DisableInUseChecks = disableInUseChecks
|
||||
|
||||
err = rv.Connect(cr)
|
||||
if err != nil {
|
||||
log.ErrorLog(ctx, "failed to connect to volume %s: %v", rv, err)
|
||||
|
Loading…
Reference in New Issue
Block a user