mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
fix typo that redefines variable and breaks code
This commit is contained in:
parent
827b3d77cd
commit
645d0d8e81
@ -374,7 +374,7 @@ func (util *RBDUtil) AttachDisk(b rbdMounter) (string, error) {
|
|||||||
nbdToolsFound := false
|
nbdToolsFound := false
|
||||||
|
|
||||||
if !mapped {
|
if !mapped {
|
||||||
nbdToolsFound := checkRbdNbdTools(b.exec)
|
nbdToolsFound = checkRbdNbdTools(b.exec)
|
||||||
if nbdToolsFound {
|
if nbdToolsFound {
|
||||||
devicePath, mapped = waitForPath(b.Pool, b.Image, 1 /*maxRetries*/, true /*useNbdDriver*/)
|
devicePath, mapped = waitForPath(b.Pool, b.Image, 1 /*maxRetries*/, true /*useNbdDriver*/)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user