Unverified Commit b070ca58 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #62173 from ianchakeres/automated-cherry-pick-of-#62168-upstream-release-1.10

Automatic merge from submit-queue. Automated cherry pick of #62168: fix typo that redefines variable and breaks code Cherry pick of #62168 on release-1.10. #62168: fix typo that redefines variable and breaks code
parents d063f96e 1798518c
...@@ -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