mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
rebased and updated
This commit is contained in:
@@ -161,11 +161,7 @@ func (util *RBDUtil) loadRBD(rbd *rbd, mnt string) error {
|
||||
|
||||
func (util *RBDUtil) fencing(b rbdBuilder) error {
|
||||
// no need to fence readOnly
|
||||
<<<<<<< HEAD
|
||||
if b.ReadOnly {
|
||||
=======
|
||||
if rbd.readOnly {
|
||||
>>>>>>> rebased and updated to latest
|
||||
if b.IsReadOnly() {
|
||||
return nil
|
||||
}
|
||||
return util.rbdLock(b, true)
|
||||
@@ -173,11 +169,7 @@ func (util *RBDUtil) fencing(b rbdBuilder) error {
|
||||
|
||||
func (util *RBDUtil) defencing(c rbdCleaner) error {
|
||||
// no need to fence readOnly
|
||||
<<<<<<< HEAD
|
||||
if c.ReadOnly {
|
||||
=======
|
||||
if rbd.readOnly {
|
||||
>>>>>>> rebased and updated to latest
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user