mirror of
https://github.com/portainer/portainer.git
synced 2025-07-29 10:19:41 +02:00
refactor(docker): remove EndpointProvider from exec [EE-6462] (#10840)
This commit is contained in:
parent
76e49ed9a8
commit
de473fc10e
3 changed files with 6 additions and 7 deletions
|
@ -121,7 +121,7 @@ angular.module('portainer.docker').controller('ContainerConsoleController', [
|
|||
.map((k) => k + '=' + params[k])
|
||||
.join('&');
|
||||
|
||||
initTerm(url, ExecService.resizeTTY.bind(this, params.id));
|
||||
initTerm(url, ExecService.resizeTTY.bind(this, endpoint.Id, params.id));
|
||||
})
|
||||
.catch(function error(err) {
|
||||
Notifications.error('Failure', err, 'Unable to exec into container');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue