mirror of https://github.com/apache/cloudstack.git
bug 8698: adding device id to the list volumes return set
status 8698: resolved fixed
This commit is contained in:
parent
2c3c2b11d5
commit
d66740c6a6
|
|
@ -218,7 +218,8 @@ public class ListVolumesCmd extends BaseCmd{
|
|||
}
|
||||
Long poolId = volume.getPoolId();
|
||||
String poolName = (poolId == null) ? "none" : getManagementServer().findPoolById(poolId).getName();
|
||||
volumeData.add(new Pair<String, Object>(BaseCmd.Properties.STORAGE.getName(), poolName));
|
||||
volumeData.add(new Pair<String, Object>(BaseCmd.Properties.STORAGE.getName(), poolName));
|
||||
volumeData.add(new Pair<String, Object>(BaseCmd.Properties.DEVICE_ID.getName(), volume.getDeviceId()));
|
||||
|
||||
vTag[i++] = volumeData;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue