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:
parent
173ea372c2
commit
0d0072a50e
4 changed files with 28 additions and 6 deletions
|
@ -40,5 +40,13 @@ angular.module('extension.storidge')
|
|||
});
|
||||
};
|
||||
|
||||
service.shutdown = function() {
|
||||
return $http({
|
||||
method: 'POST',
|
||||
url: StoridgeManager.StoridgeAPIURL() + '/cluster/shutdown',
|
||||
skipAuthorization: true
|
||||
});
|
||||
};
|
||||
|
||||
return service;
|
||||
}]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue