fix cred lookup init where inventory source is ec2, resolves #2428 (#2431)

This commit is contained in:
Leigh
2016-06-16 10:03:29 -04:00
committed by GitHub
parent ceec66d1ef
commit e75cf000e4

View File

@@ -260,7 +260,7 @@
$scope = angular.extend($scope, groupData);
// instantiate lookup fields
if (inventorySourceData.source !== 'custom'){
if (inventorySourceData.source !== 'custom' && inventorySourceData.source !== 'ec2'){
LookUpInit({
scope: $scope,
url: GetBasePath('credentials') + (inventorySourceData.source === '' ? '' : '?kind=' + (inventorySourceData.source)),