summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-03 01:45:38 +0100
committerGitHub <noreply@github.com>2020-12-03 01:45:38 +0100
commit918087252b06640582128cfb6a8a5ace962dcee0 (patch)
tree07b507a8fd4a35e235552372a39ea446a1c970c0
parent38a44acd2086c0915ebb84e9c43a569bd8a57a37 (diff)
parent60d3e658ceaf7a0f0fcaf3e8ef8edda99661681c (diff)
downloadpodman-918087252b06640582128cfb6a8a5ace962dcee0.tar.gz
podman-918087252b06640582128cfb6a8a5ace962dcee0.tar.bz2
podman-918087252b06640582128cfb6a8a5ace962dcee0.zip
Merge pull request #8566 from jwhonce/wip/double_ping
Change bindings to stop two API calls for ping
-rw-r--r--pkg/bindings/connection.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/connection.go b/pkg/bindings/connection.go
index 31435ae91..a5683796a 100644
--- a/pkg/bindings/connection.go
+++ b/pkg/bindings/connection.go
@@ -152,7 +152,7 @@ func pingNewConnection(ctx context.Context) error {
return err
}
// the ping endpoint sits at / in this case
- response, err := client.DoRequest(nil, http.MethodGet, "../../../_ping", nil, nil)
+ response, err := client.DoRequest(nil, http.MethodGet, "/_ping", nil, nil)
if err != nil {
return err
}