fix(stack-details): pass agentProxy as an argument (#2196)
parent
e60d809154
commit
74ca908759
|
@ -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…
Reference in New Issue