diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-09-05 09:07:52 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-09-06 22:55:46 +0200 |
commit | 06f94bef1f159b4717e91f36c33759df4ed4358b (patch) | |
tree | 15cfe30344be6ca0531227398e33d5c4b6ee2d42 /pkg | |
parent | 30cbb0091515a7f802f0f3f3ee486be6ff98f645 (diff) | |
download | podman-06f94bef1f159b4717e91f36c33759df4ed4358b.tar.gz podman-06f94bef1f159b4717e91f36c33759df4ed4358b.tar.bz2 podman-06f94bef1f159b4717e91f36c33759df4ed4358b.zip |
build: pass down the cgroup manager to buildah
Pass down the cgroup manager to use to buildah.
Closes: https://github.com/containers/libpod/issues/3938
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/adapter/runtime_remote.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/adapter/runtime_remote.go b/pkg/adapter/runtime_remote.go index 8588966b6..718a6d542 100644 --- a/pkg/adapter/runtime_remote.go +++ b/pkg/adapter/runtime_remote.go @@ -113,6 +113,18 @@ func (r RemoteRuntime) DeferredShutdown(force bool) { } } +// RuntimeConfig is a bogus wrapper for compat with the libpod runtime +type RuntimeConfig struct { + // CGroupManager is the CGroup Manager to use + // Valid values are "cgroupfs" and "systemd" + CgroupManager string +} + +// Shutdown is a bogus wrapper for compat with the libpod runtime +func (r *RemoteRuntime) GetConfig() (*RuntimeConfig, error) { + return nil, nil +} + // Shutdown is a bogus wrapper for compat with the libpod runtime func (r RemoteRuntime) Shutdown(force bool) error { return nil |