From 81defb667f4cd01a92bc32907e4b117305040922 Mon Sep 17 00:00:00 2001 From: Ihar Kryvanos Date: Thu, 28 Nov 2024 10:54:51 +0100 Subject: [PATCH] SNOW-1665684 fix typo --- services/httpoverrpc/README.md | 2 +- services/httpoverrpc/client/client.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/httpoverrpc/README.md b/services/httpoverrpc/README.md index 1e1eaa0e..8070a227 100644 --- a/services/httpoverrpc/README.md +++ b/services/httpoverrpc/README.md @@ -33,7 +33,7 @@ Note: Examples: ```bash -# send get request to https://localhost:9090/hello +# send get request to https://10.1.23.4:9090/hello httpoverrpc get --hostname 10.1.23.4 --protocol https 9090 /hello # send get request with url http://example.com:9090/hello, but deal to localhost:9090 httpoverrpc get --hostname example.com --dialAddress localhost:9090 9090 /hello diff --git a/services/httpoverrpc/client/client.go b/services/httpoverrpc/client/client.go index 7497d037..01c19f0e 100644 --- a/services/httpoverrpc/client/client.go +++ b/services/httpoverrpc/client/client.go @@ -237,7 +237,7 @@ func (*getCmd) Usage() string { Make a HTTP request to a specified port on the remote host. Examples: - # send get request to https://localhost:9090/hello + # send get request to https://10.1.23.4:9090/hello httpoverrpc get --hostname 10.1.23.4 --protocol https 9090 /hello # send get request with url http://example.com:9090/hello, but dial to localhost:9090 httpoverrpc get --hostname example.com --dialAddress localhost:9090 9090 /hello