1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

extension(storidge): support cluster shutdown (#1589)

This commit is contained in:
Anthony Lapenna 2018-01-23 09:49:29 +01:00 committed by GitHub
parent 173ea372c2
commit 0d0072a50e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 6 deletions

View file

@ -40,5 +40,13 @@ angular.module('extension.storidge')
});
};
service.shutdown = function() {
return $http({
method: 'POST',
url: StoridgeManager.StoridgeAPIURL() + '/cluster/shutdown',
skipAuthorization: true
});
};
return service;
}]);