traefik/integration/vendor/github.com/docker/engine-api/client/node_remove.go
2017-03-09 13:13:03 +01:00

10 lines
253 B
Go

package client
import "golang.org/x/net/context"
// NodeRemove removes a Node.
func (cli *Client) NodeRemove(ctx context.Context, nodeID string) error {
resp, err := cli.delete(ctx, "/nodes/"+nodeID, nil, nil)
ensureReaderClosed(resp)
return err
}