mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
* chore(eslint): update esllint and remove unused variables
* chore(eslint-config): change no-unused-vars to warn * chore(eslint): remove unused variables * chore(eslint): allow unused globals * fixup! chore(eslint): allow unused globals * chore(eslint): remove commented unused vars * fixup! chore(eslint): remove commented unused vars
This commit is contained in:
parent
46da95ecfb
commit
e58acd7dd6
67 changed files with 121 additions and 146 deletions
|
@ -52,7 +52,7 @@ function ($scope, $state, $transition$, LabelHelper, Node, NodeHelper, Task, Not
|
|||
config.Role = node.Role;
|
||||
config.Labels = LabelHelper.fromKeyValueToLabelHash(node.Labels);
|
||||
|
||||
Node.update({ id: node.Id, version: node.Version }, config, function (data) {
|
||||
Node.update({ id: node.Id, version: node.Version }, config, function () {
|
||||
Notifications.success('Node successfully updated', 'Node updated');
|
||||
$state.go('docker.nodes.node', {id: node.Id}, {reload: true});
|
||||
}, function (e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue