mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 15:50:10 +00:00
fix some errors
This commit is contained in:
parent
256c5c13c6
commit
3652474ee1
@ -241,8 +241,7 @@ func (attacher *cinderDiskAttacher) waitProbeVolume(devicePath, volumeID string)
|
|||||||
if exists && err == nil {
|
if exists && err == nil {
|
||||||
glog.Infof("Successfully found attached Cinder disk %q at %v.", volumeID, devicePath)
|
glog.Infof("Successfully found attached Cinder disk %q at %v.", volumeID, devicePath)
|
||||||
return devicePath, nil
|
return devicePath, nil
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
// Log an error, and continue checking periodically
|
// Log an error, and continue checking periodically
|
||||||
glog.Errorf("Error: could not find attached Cinder disk %q (path: %q): %v", volumeID, devicePath, err)
|
glog.Errorf("Error: could not find attached Cinder disk %q (path: %q): %v", volumeID, devicePath, err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user