Modify Attach method to return device path

This commit is contained in:
saadali
2016-06-16 20:11:09 -07:00
parent 926bb4cca0
commit d72f88bf3a
7 changed files with 61 additions and 48 deletions

View File

@@ -385,7 +385,7 @@ func (oe *operationExecutor) generateAttachVolumeFunc(
return func() error {
// Execute attach
attachErr := volumeAttacher.Attach(
_, attachErr := volumeAttacher.Attach(
volumeToAttach.VolumeSpec, volumeToAttach.NodeName)
if attachErr != nil {