mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
commit
0815609e4a
@ -417,7 +417,7 @@ func (util *RBDUtil) AttachDisk(b rbdMounter) (string, error) {
|
||||
if err == wait.ErrWaitTimeout {
|
||||
return "", fmt.Errorf("rbd image %s/%s is still being used", b.Pool, b.Image)
|
||||
}
|
||||
// Return error if any other errors were encountered during wating for the image to become available.
|
||||
// Return error if any other errors were encountered during waiting for the image to become available.
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user