Commit 1798518c authored by Lukasz Piatkowski's avatar Lukasz Piatkowski Committed by Ian Chakeres

fix typo that redefines variable and breaks code

parent 3ca752c6
...@@ -372,7 +372,7 @@ func (util *RBDUtil) AttachDisk(b rbdMounter) (string, error) { ...@@ -372,7 +372,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*/)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment