diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-04-16 14:12:12 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-04-26 22:23:49 +0200 |
commit | f49e0c19ede56b1cc6b1d44ea9ba8b336cd22658 (patch) | |
tree | 9a68b96d5f85adcc67189e97e1c788786c20b32c /pkg/adapter/runtime_remote.go | |
parent | 525f0b30ac280565a1f98fd4208821a4984a7515 (diff) | |
download | podman-f49e0c19ede56b1cc6b1d44ea9ba8b336cd22658.tar.gz podman-f49e0c19ede56b1cc6b1d44ea9ba8b336cd22658.tar.bz2 podman-f49e0c19ede56b1cc6b1d44ea9ba8b336cd22658.zip |
runtime: pass down the context
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg/adapter/runtime_remote.go')
-rw-r--r-- | pkg/adapter/runtime_remote.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/adapter/runtime_remote.go b/pkg/adapter/runtime_remote.go index 29ee821e0..6102daccf 100644 --- a/pkg/adapter/runtime_remote.go +++ b/pkg/adapter/runtime_remote.go @@ -46,7 +46,7 @@ type LocalRuntime struct { } // GetRuntime returns a LocalRuntime struct with the actual runtime embedded in it -func GetRuntime(c *cliconfig.PodmanCommand) (*LocalRuntime, error) { +func GetRuntime(ctx context.Context, c *cliconfig.PodmanCommand) (*LocalRuntime, error) { runtime := RemoteRuntime{} conn, err := runtime.Connect() if err != nil { |