Merge pull request #23554 from vieux/node_update_name
fix docker node update via name
This commit is contained in:
commit
9ba0504923
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ func runUpdate(dockerCli *client.DockerCli, nodeID string, mergeNode func(node *
|
|||
}
|
||||
|
||||
mergeNode(&node)
|
||||
err = client.NodeUpdate(ctx, nodeID, node.Version, node.Spec)
|
||||
err = client.NodeUpdate(ctx, node.ID, node.Version, node.Spec)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue