mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #107236 from cyclinder/fix_bug_WaitForAttach
GCEPD: fix incorrect return value in WaitForAttach
This commit is contained in:
commit
6a5b3da1d8
@ -242,8 +242,9 @@ func (attacher *gcePersistentDiskAttacher) WaitForAttach(spec *volume.Spec, devi
|
||||
id, err := getDiskID(pdName, exec)
|
||||
if err != nil {
|
||||
klog.Errorf("WaitForAttach (windows) failed with error %s", err)
|
||||
return "", err
|
||||
}
|
||||
return id, err
|
||||
return id, nil
|
||||
}
|
||||
|
||||
partition := ""
|
||||
|
Loading…
Reference in New Issue
Block a user