mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
gofmt
This commit is contained in:
parent
33872501cf
commit
00d2d6eb4e
@ -102,7 +102,7 @@ func (t transporter) GetLeaderClientAddress() string {
|
|||||||
|
|
||||||
// Send server side POST request
|
// Send server side POST request
|
||||||
func (t transporter) Post(path string, body io.Reader) (*http.Response, error) {
|
func (t transporter) Post(path string, body io.Reader) (*http.Response, error) {
|
||||||
resp, err := t.client.Post(t.scheme + path, "application/json", body)
|
resp, err := t.client.Post(t.scheme+path, "application/json", body)
|
||||||
return resp, err
|
return resp, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user