mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 14:27:26 +01:00
CA-234827: Destination dropdown menu content is blurred with overlapping 'Action: vm.assert_can_migrate' text in Migrate VM wizard
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
parent
c395a8ce14
commit
765dee4fe7
@ -106,8 +106,11 @@ namespace XenAdmin.Wizards.CrossPoolMigrateWizard.Filters
|
||||
}
|
||||
catch (Failure failure)
|
||||
{
|
||||
disableReason = failure.Message;
|
||||
|
||||
if (failure.ErrorDescription[0] == Failure.RBAC_PERMISSION_DENIED)
|
||||
disableReason = failure.Message.Split('\n')[0]; // we want the first line only
|
||||
else
|
||||
disableReason = failure.Message;
|
||||
|
||||
log.ErrorFormat("VM: {0}, Host: {1} - Reason: {2};", vm.opaque_ref, host.opaque_ref, failure.Message);
|
||||
|
||||
if (!excludedHosts.Contains(host.opaque_ref))
|
||||
|
Loading…
Reference in New Issue
Block a user