mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
fix(stack-details): pass agentProxy as an argument (#2196)
This commit is contained in:
parent
e60d809154
commit
74ca908759
1 changed files with 2 additions and 2 deletions
|
@ -233,9 +233,9 @@ function ($q, $scope, $state, $transition$, StackService, NodeService, ServiceSe
|
|||
function loadExternalSwarmStack(name) {
|
||||
var agentProxy = $scope.applicationState.endpoint.mode.agentProxy;
|
||||
|
||||
retrieveSwarmStackResources(name)
|
||||
retrieveSwarmStackResources(name, agentProxy)
|
||||
.then(function success(data) {
|
||||
assignSwarmStackResources(data);
|
||||
assignSwarmStackResources(data, agentProxy);
|
||||
})
|
||||
.catch(function error(err) {
|
||||
Notifications.error('Failure', err, 'Unable to retrieve stack details');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue