diff --git a/awx/ui/client/src/adhoc/adhoc.controller.js b/awx/ui/client/src/adhoc/adhoc.controller.js index a56082a0b3..4ccf56ca54 100644 --- a/awx/ui/client/src/adhoc/adhoc.controller.js +++ b/awx/ui/client/src/adhoc/adhoc.controller.js @@ -161,8 +161,6 @@ function adhocController($q, $scope, $rootScope, $location, $stateParams, privateFn.initializeFields(urls.machineCredentialUrl, urls.adhocUrl); }; - var urls = privateFn.setAvailableUrls(); - privateFn.initializeForm(id, urls, hostPattern); $scope.formCancel = function(){