mirror of
https://github.com/containers/podman.git
synced 2025-06-21 01:19:15 +08:00
Change bindings to stop two API calls for ping
* existing code caused an unnecessary 301 redirect Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user