Migrate to AngularJS v1.8.2

This patch aligns current code with AngularJS v1.8.2 requirements.

Change-Id: I3b0000c91746d136fb0a2a53b3a7089b4b8298f2
This commit is contained in:
manchandavishal 2022-06-28 17:07:59 +05:30
parent 00899ba9ce
commit 3025f2b4f0
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
}
console.info('CONFIG in core - ', config)
return apiService.get('/api/vitrage/topology/', config)
.error(function () {
.catch(function onError() {
toastService.add('error', gettext('Unable to fetch the Vitrage Topology service.'));
});
}