diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-11-15 18:31:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 18:31:37 +0100 |
commit | 47eaf23039d5a1352352ac1b33196b8344065632 (patch) | |
tree | fbf01bbb1c00fe5d46bca2b693a8e125ed30b694 /pkg/bindings/system/info.go | |
parent | 9eaa6f4566eff75f5710c48ae0ba3d98840a50a9 (diff) | |
parent | 5df883e87d7d4faec24c53c89bab3255057de0bc (diff) | |
download | podman-47eaf23039d5a1352352ac1b33196b8344065632.tar.gz podman-47eaf23039d5a1352352ac1b33196b8344065632.tar.bz2 podman-47eaf23039d5a1352352ac1b33196b8344065632.zip |
Merge pull request #12300 from WanzenBug/fix-bindings-context
bindings: reuse context for API requests
Diffstat (limited to 'pkg/bindings/system/info.go')
-rw-r--r-- | pkg/bindings/system/info.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/system/info.go b/pkg/bindings/system/info.go index 8a307a4ca..8d7c30b26 100644 --- a/pkg/bindings/system/info.go +++ b/pkg/bindings/system/info.go @@ -14,7 +14,7 @@ func Info(ctx context.Context, _ *InfoOptions) (*define.Info, error) { if err != nil { return nil, err } - response, err := conn.DoRequest(nil, http.MethodGet, "/info", nil, nil) + response, err := conn.DoRequest(ctx, nil, http.MethodGet, "/info", nil, nil) if err != nil { return nil, err } |