소스 검색

remove extra space in code comment in ping.go

Signed-off-by: Daniel Helfand <helfand.4@gmail.com>
Daniel Helfand 5 년 전
부모
커밋
4d249ae1f3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      client/ping.go

+ 1 - 1
client/ping.go

@@ -17,7 +17,7 @@ func (cli *Client) Ping(ctx context.Context) (types.Ping, error) {
 	var ping types.Ping
 	var ping types.Ping
 
 
 	// Using cli.buildRequest() + cli.doRequest() instead of cli.sendRequest()
 	// 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
 	// to hit the non-versioned /_ping endpoint, not /v1.xx/_ping
 	req, err := cli.buildRequest(http.MethodHead, path.Join(cli.basePath, "/_ping"), nil, nil)
 	req, err := cli.buildRequest(http.MethodHead, path.Join(cli.basePath, "/_ping"), nil, nil)
 	if err != nil {
 	if err != nil {