mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
iSCSi plugin: Remove redundant nil check
This commit is contained in:
parent
88add574fd
commit
285ac8935f
@ -114,7 +114,7 @@ func waitForPathToExistInternal(devicePath *string, maxRetries int, deviceTransp
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if err != nil && !os.IsNotExist(err) {
|
if !os.IsNotExist(err) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if i == maxRetries-1 {
|
if i == maxRetries-1 {
|
||||||
|
Loading…
Reference in New Issue
Block a user