diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-07-03 00:37:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-03 00:37:31 +0200 |
commit | 3fa818a036c4df4987abd2e790d5c9f5259ccfec (patch) | |
tree | 6b43a58782e8e73813fcea12dfba498a79f721ff /pkg/adapter/runtime_remote.go | |
parent | 55e028a12ee003e057c65e376fe4b723d28ae52e (diff) | |
parent | d0a0a3fbd9ebb2942c761f14fc56f3a470ae1834 (diff) | |
download | podman-3fa818a036c4df4987abd2e790d5c9f5259ccfec.tar.gz podman-3fa818a036c4df4987abd2e790d5c9f5259ccfec.tar.bz2 podman-3fa818a036c4df4987abd2e790d5c9f5259ccfec.zip |
Merge pull request #3465 from baude/nostore
configure runtime without store
Diffstat (limited to 'pkg/adapter/runtime_remote.go')
-rw-r--r-- | pkg/adapter/runtime_remote.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/adapter/runtime_remote.go b/pkg/adapter/runtime_remote.go index 3be89233d..800ed7569 100644 --- a/pkg/adapter/runtime_remote.go +++ b/pkg/adapter/runtime_remote.go @@ -50,6 +50,12 @@ type LocalRuntime struct { *RemoteRuntime } +// GetRuntimeNoStore returns a LocalRuntime struct with the actual runtime embedded in it +// The nostore is ignored +func GetRuntimeNoStore(ctx context.Context, c *cliconfig.PodmanCommand) (*LocalRuntime, error) { + return GetRuntime(ctx, c) +} + // GetRuntime returns a LocalRuntime struct with the actual runtime embedded in it func GetRuntime(ctx context.Context, c *cliconfig.PodmanCommand) (*LocalRuntime, error) { var ( |