Skip to content

Commit

Permalink
seriously: how about using the right remote device string.
Browse files Browse the repository at this point in the history
  • Loading branch information
chris grzegorczyk committed Jan 7, 2012
2 parents 320d856 + 11d03c8 commit 25a4ba5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -367,7 +367,7 @@ public AttachVolumeResponseType AttachVolume( AttachVolumeType request ) throws
request.setRemoteDevice( scAttachResponse.getRemoteDeviceString( ) );

AttachedVolume attachVol = new AttachedVolume( volume.getDisplayName( ), vm.getInstanceId( ), request.getDevice( ), request.getRemoteDevice( ) );
vm.addTransientVolume( deviceName, scAttachResponse, volume );
vm.addTransientVolume( deviceName, scAttachResponse.getRemoteDeviceString( ), volume );
AsyncRequests.newRequest( new VolumeAttachCallback( request, attachVol ) ).dispatch( cluster.getConfiguration( ) );

EventRecord.here( VolumeManager.class, EventClass.VOLUME, EventType.VOLUME_ATTACH )
Expand Down

0 comments on commit 25a4ba5

Please sign in to comment.