1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 13:25:26 +02:00

* chore(eslint): update esllint and remove unused variables

* chore(eslint-config): change no-unused-vars to warn

* chore(eslint): remove unused variables

* chore(eslint): allow unused globals

* fixup! chore(eslint): allow unused globals

* chore(eslint): remove commented unused vars

* fixup! chore(eslint): remove commented unused vars
This commit is contained in:
Chaim Lev-Ari 2018-08-22 18:33:06 +03:00 committed by Anthony Lapenna
parent 46da95ecfb
commit e58acd7dd6
67 changed files with 121 additions and 146 deletions

View file

@ -29,7 +29,7 @@ function ($q, $scope, $transition$, $state, $timeout, ImageService, RegistryServ
var registry = $scope.formValues.Registry;
ImageService.tagImage($transition$.params().id, image, registry.URL)
.then(function success(data) {
.then(function success() {
Notifications.success('Image successfully tagged');
$state.go('docker.images.image', {id: $transition$.params().id}, {reload: true});
})
@ -45,7 +45,7 @@ function ($q, $scope, $transition$, $state, $timeout, ImageService, RegistryServ
var registry = data;
return ImageService.pushImage(repository, registry);
})
.then(function success(data) {
.then(function success() {
Notifications.success('Image successfully pushed', repository);
})
.catch(function error(err) {
@ -63,7 +63,7 @@ function ($q, $scope, $transition$, $state, $timeout, ImageService, RegistryServ
var registry = data;
return ImageService.pullImage(repository, registry, false);
})
.then(function success(data) {
.then(function success() {
Notifications.success('Image successfully pulled', repository);
})
.catch(function error(err) {