Change in ovirt-engine[master]: restapi: set storageDomainId only when available on VmDisksR...

derez at redhat.com derez at redhat.com
Wed Aug 5 11:29:42 UTC 2015


Daniel Erez has submitted this change and it was merged.

Change subject: restapi: set storageDomainId only when available on VmDisksResource
......................................................................


restapi: set storageDomainId only when available on VmDisksResource

BackendVmDisksResource -> getAddParameters:
set storageDomainId only when available to allow auto-select
of a storage domain on 'AddDiskCommand -> getStorageDomainId() ->
getDisksStorageDomainId()'. The behaviour is needed for backwards
compatibility of MSD (multiple storage domains) feature.

Change-Id: I2857350bafad327a1e76b848165969368f4213df
Bug-Url: https://bugzilla.redhat.com/1220824
Signed-off-by: Daniel Erez <derez at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmDisksResource.java
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Ori Liel: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Daniel Erez: Verified



-- 
To view, visit https://gerrit.ovirt.org/44270
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2857350bafad327a1e76b848165969368f4213df
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list