mirror of https://github.com/status-im/consul.git
Fixes a stale comment.
This commit is contained in:
parent
e5850d8a26
commit
0558b9c44b
|
@ -58,7 +58,7 @@ func (op *Operator) RaftRemovePeerByAddress(address raft.ServerAddress, q *Write
|
||||||
r.setWriteOptions(q)
|
r.setWriteOptions(q)
|
||||||
|
|
||||||
// TODO (slackpad) Currently we made address a query parameter. Once
|
// TODO (slackpad) Currently we made address a query parameter. Once
|
||||||
// IDs are in place this will be DELETE /v1/raft-peer/<id>.
|
// IDs are in place this will be DELETE /v1/operator/raft/peer/<id>.
|
||||||
r.params.Set("address", string(address))
|
r.params.Set("address", string(address))
|
||||||
|
|
||||||
_, resp, err := requireOK(op.c.doRequest(r))
|
_, resp, err := requireOK(op.c.doRequest(r))
|
||||||
|
|
Loading…
Reference in New Issue