Skip to content

Commit d6ef29e

Browse files
committed
getCloudNetworksByEms is unused as of e4db01a
1 parent 2b65893 commit d6ef29e

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

app/javascript/oldjs/services/miq_service.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -97,25 +97,6 @@ ManageIQ.angular.app.service('miqService', ['$q', 'API', '$window', function($q,
9797
return $q.reject(e);
9898
};
9999

100-
this.getCloudNetworksByEms = function(callback) {
101-
return function(id) {
102-
if (!id) {
103-
callback([]);
104-
return;
105-
}
106-
miqService.sparkleOn();
107-
108-
API.get('/api/cloud_networks?expand=resources&attributes=name,ems_ref&filter[]=external_facing=true&filter[]=ems_id=' + id)
109-
.then(getCloudNetworksByEmsData)
110-
.catch(miqService.handleFailure);
111-
};
112-
113-
function getCloudNetworksByEmsData(data) {
114-
callback(data);
115-
miqService.sparkleOff();
116-
}
117-
};
118-
119100
this.getProviderTenants = function(callback) {
120101
return function(id) {
121102
if (!id) {

0 commit comments

Comments
 (0)