From c63c5230897d1b060769df16b188a44eb43df974 Mon Sep 17 00:00:00 2001 From: mabashian Date: Fri, 15 Sep 2017 13:33:24 -0400 Subject: [PATCH] Pull azure regions from azure_rm_region_choices not azure_region_choices Signed-off-by: mabashian --- .../inventories/related/sources/add/sources-add.controller.js | 2 +- .../inventories/related/sources/edit/sources-edit.controller.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/inventories-hosts/inventories/related/sources/add/sources-add.controller.js b/awx/ui/client/src/inventories-hosts/inventories/related/sources/add/sources-add.controller.js index 4b0fc3369f..248ecbff60 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/related/sources/add/sources-add.controller.js +++ b/awx/ui/client/src/inventories-hosts/inventories/related/sources/add/sources-add.controller.js @@ -251,7 +251,7 @@ export default ['$state', '$stateParams', '$scope', 'SourcesFormDefinition', scope: $scope, field: 'source_regions', variable: 'azure_regions', - choice_name: 'azure_region_choices', + choice_name: 'azure_rm_region_choices', options: inventorySourcesOptions }); diff --git a/awx/ui/client/src/inventories-hosts/inventories/related/sources/edit/sources-edit.controller.js b/awx/ui/client/src/inventories-hosts/inventories/related/sources/edit/sources-edit.controller.js index 9cf465364c..4728e2747a 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/related/sources/edit/sources-edit.controller.js +++ b/awx/ui/client/src/inventories-hosts/inventories/related/sources/edit/sources-edit.controller.js @@ -218,7 +218,7 @@ export default ['$state', '$stateParams', '$scope', 'ParseVariableString', scope: $scope, field: 'source_regions', variable: 'azure_regions', - choice_name: 'azure_region_choices', + choice_name: 'azure_rm_region_choices', options: inventorySourcesOptions }); GetChoices({