|
@@ -66,7 +66,7 @@ func (c *Cluster) GetNode(input string) (types.Node, error) {
|
|
|
|
|
|
// UpdateNode updates existing nodes properties.
|
|
// UpdateNode updates existing nodes properties.
|
|
func (c *Cluster) UpdateNode(input string, version uint64, spec types.NodeSpec) error {
|
|
func (c *Cluster) UpdateNode(input string, version uint64, spec types.NodeSpec) error {
|
|
- return c.lockedManagerAction(func(ctx context.Context, state nodeState) error {
|
|
|
|
|
|
+ return c.lockedManagerAction(func(_ context.Context, state nodeState) error {
|
|
nodeSpec, err := convert.NodeSpecToGRPC(spec)
|
|
nodeSpec, err := convert.NodeSpecToGRPC(spec)
|
|
if err != nil {
|
|
if err != nil {
|
|
return errdefs.InvalidParameter(err)
|
|
return errdefs.InvalidParameter(err)
|