bug 8698: adding device id to the list volumes return set

status 8698: resolved fixed
This commit is contained in:
abhishek 2011-02-24 13:21:43 -08:00
parent 2c3c2b11d5
commit d66740c6a6
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}