-
Notifications
You must be signed in to change notification settings - Fork 274
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
1 parent
9f917da
commit e0e4b37
Showing
1 changed file
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters