fix typo that redefines variable and breaks code

This commit is contained in:
Lukasz Piatkowski 2018-04-05 13:49:02 +00:00
parent 827b3d77cd
commit 645d0d8e81

View File

@ -374,7 +374,7 @@ func (util *RBDUtil) AttachDisk(b rbdMounter) (string, error) {
nbdToolsFound := false
if !mapped {
nbdToolsFound := checkRbdNbdTools(b.exec)
nbdToolsFound = checkRbdNbdTools(b.exec)
if nbdToolsFound {
devicePath, mapped = waitForPath(b.Pool, b.Image, 1 /*maxRetries*/, true /*useNbdDriver*/)
}