Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct Data Center for the "Upload Image" dialog
Signed-off-by: Stepan Ermakov <sermakov@orionsoft.ru> This PR fixes the following issue: incorrect Data Center is displayed when uploading a disk image from "Storage Domain Disks" UI. Steps to reproduce: 1. Create a Storage Domain at non-Default Data Center. 2. Open the Storage -> Domains -> <The created Storage Domain> -> Disks page. 3. Select the Upload -> Start menu item. The "Upload image" dialog is displayed. Expected behavior: The Data Center filed is disabled and displays the name of the non-Default Data Center. Current behavior: The Data Center field is disabled and display the name of the Default Data Center. Fixed in the following way: when "Upload image" dialog is displayed then query the Storage Domain details with information about its Data Center and select the Storage Domain's Data Center in the "Data Center" field
- Loading branch information