bug 3384: listVolumes: regular user should be able to make a search by "type".

status 3384: resolved fixed
This commit is contained in:
nit 2010-11-08 14:46:30 +05:30
parent 8215510c19
commit af502b1c4c
1 changed files with 2 additions and 3 deletions

View File

@ -3626,13 +3626,12 @@ public class ManagementServerImpl implements ManagementServer {
Long vmInstanceId = cmd.getVirtualMachineId();
Object name = cmd.getVolumeName();
Object keyword = cmd.getKeyword();
Object type = cmd.getType();
Object type = null;
Object zone = null;
Object pod = null;
//Object host = null; TODO
if (isAdmin) {
type = cmd.getType();
if (isAdmin) {
zone = cmd.getZoneId();
pod = cmd.getPodId();
// host = cmd.getHostId(); TODO