summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-09-08 17:29:30 +0200
committerGitHub <noreply@github.com>2019-09-08 17:29:30 +0200
commitf500feb2f19b88592211841e4b30fe16a9aa30b3 (patch)
treedfda1e1e8da850c9ead4156a5a51d1003ec43b5b /pkg
parent731281193a3cb739a5a8401aab550c06cb72a983 (diff)
parent06f94bef1f159b4717e91f36c33759df4ed4358b (diff)
downloadpodman-f500feb2f19b88592211841e4b30fe16a9aa30b3.tar.gz
podman-f500feb2f19b88592211841e4b30fe16a9aa30b3.tar.bz2
podman-f500feb2f19b88592211841e4b30fe16a9aa30b3.zip
Merge pull request #3944 from giuseppe/build-cgroup-manager
build: pass down the cgroup manager to buildah
Diffstat (limited to 'pkg')
-rw-r--r--pkg/adapter/runtime_remote.go12
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