Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Commit 3d1c512

Browse files
committed
fix some errors
1 parent 020a7f7 commit 3d1c512

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

pkg/volume/cinder/attacher.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,7 @@ func (attacher *cinderDiskAttacher) waitProbeVolume(devicePath, volumeID string)
241241
if exists && err == nil {
242242
glog.Infof("Successfully found attached Cinder disk %q at %v.", volumeID, devicePath)
243243
return devicePath, nil
244-
}
245-
else {
244+
} else {
246245
// Log an error, and continue checking periodically
247246
glog.Errorf("Error: could not find attached Cinder disk %q (path: %q): %v", volumeID, devicePath, err)
248247
}

0 commit comments

Comments
 (0)