diff options
author | Daniel Helfand <helfand.4@gmail.com> | 2020-01-20 00:02:09 -0500 |
---|---|---|
committer | Daniel Helfand <helfand.4@gmail.com> | 2020-01-20 00:04:53 -0500 |
commit | 4d249ae1f33d3e57be78ec1ce573589397720741 (patch) | |
tree | b043667e6d2be54fb64b835d5eedc0a7848f27af /client | |
parent | f9d136b6c68d02257991b2e3176f5c6adc104f7c (diff) | |
download | docker-4d249ae1f33d3e57be78ec1ce573589397720741.tar.gz |
remove extra space in code comment in ping.go
Signed-off-by: Daniel Helfand <helfand.4@gmail.com>
Diffstat (limited to 'client')
-rw-r--r-- | client/ping.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/ping.go b/client/ping.go index 1cfc48a25d..a9af001ef4 100644 --- a/client/ping.go +++ b/client/ping.go @@ -17,7 +17,7 @@ func (cli *Client) Ping(ctx context.Context) (types.Ping, error) { var ping types.Ping // Using cli.buildRequest() + cli.doRequest() instead of cli.sendRequest() - // because ping requests are used during API version negotiation, so we want + // because ping requests are used during API version negotiation, so we want // to hit the non-versioned /_ping endpoint, not /v1.xx/_ping req, err := cli.buildRequest(http.MethodHead, path.Join(cli.basePath, "/_ping"), nil, nil) if err != nil { |