Maor Lipchuk has uploaded a new change for review. Change subject: core: Set storagePoolId when fetching Existing Storage Domains. ......................................................................
core: Set storagePoolId when fetching Existing Storage Domains. Setting also the storage pool id to the Storage Domains, when fetched from VDSM. Change-Id: I86dda5cd86b296fcb79dc797cc952c93ed0991ef Bug-Url: https://bugzilla.redhat.com/1138115 Signed-off-by: Maor Lipchuk <[email protected]> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/GetExistingStorageDomainListQuery.java 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/49/36449/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/GetExistingStorageDomainListQuery.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/GetExistingStorageDomainListQuery.java index e96006d..c8ca8c5 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/GetExistingStorageDomainListQuery.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/GetExistingStorageDomainListQuery.java @@ -58,6 +58,7 @@ .getReturnValue(); StorageDomain domain = new StorageDomain(); domain.setStorageStaticData(domainFromIrs.getFirst()); + domain.setStoragePoolId(domainFromIrs.getSecond()); if (getParameters().getStorageFormatType() == null || getParameters().getStorageFormatType() == domain.getStorageFormat()) { if (domain.getStorageType().getValue() != getParameters().getStorageType().getValue()) { -- To view, visit http://gerrit.ovirt.org/36449 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I86dda5cd86b296fcb79dc797cc952c93ed0991ef Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Maor Lipchuk <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
