mirror of https://github.com/apache/cloudstack.git
bug 6481: embedded object returned by attachVolume API would have the "type" property indicating the volume type of the disk volume (ROOT or DATADISK)
status 6481: resolved fixed
This commit is contained in:
parent
8ae5a70b06
commit
035810d60a
|
|
@ -117,6 +117,7 @@ public class AttachVolumeCmd extends BaseAsyncCmd {
|
|||
response.setStorageType("shared"); // NOTE: You can never attach a local disk volume but if that changes, we need to change this
|
||||
response.setId(volume.getId());
|
||||
response.setName(volume.getName());
|
||||
response.setVolumeType(volume.getVolumeType().toString());
|
||||
response.setResponseName(getName());
|
||||
|
||||
return response;
|
||||
|
|
|
|||
Loading…
Reference in New Issue