diff options
author | Eduardo Lima (Etrunko) <etrunko@redhat.com> | 2020-05-15 10:24:08 -0300 |
---|---|---|
committer | Eduardo Lima (Etrunko) <etrunko@redhat.com> | 2020-05-19 10:30:21 -0300 |
commit | bbda3aa71a50abec11b69dfd7a3ef73a5c8052d7 (patch) | |
tree | dd8513ce941e0152bee99912f8c3d5473f112a2f | |
parent | ee173fc254daac6139d11f80996402a5767c235d (diff) |
ovirt: Do not filter out DATA storage domains
Since ovirt 4.2 it is acceptable to have ISO images in storage domains
of DATA type, while the usage of ISO type is about to be deprecated. The
code now allow both types of storage domains when looking up for ISO
images.
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/release_notes/deprecated_features_rhv
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4-beta/html/release_notes/deprecated_features_rhv
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1835640
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
-rw-r--r-- | src/ovirt-foreign-menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ovirt-foreign-menu.c b/src/ovirt-foreign-menu.c index 98ab7b9..b089dec 100644 --- a/src/ovirt-foreign-menu.c +++ b/src/ovirt-foreign-menu.c @@ -652,8 +652,8 @@ static gboolean storage_domain_validate(OvirtForeignMenu *menu G_GNUC_UNUSED, g_object_get(domain, "name", &name, "type", &type, "state", &state, NULL); - if (type != OVIRT_STORAGE_DOMAIN_TYPE_ISO) { - g_debug("Storage domain '%s' type is not ISO", name); + if (type != OVIRT_STORAGE_DOMAIN_TYPE_ISO && type != OVIRT_STORAGE_DOMAIN_TYPE_DATA) { + g_debug("Storage domain '%s' type is not ISO or DATA", name); ret = FALSE; } |