diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-08-22 19:08:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-22 19:08:08 +0200 |
commit | b263dd9e81bcadd3be5c7420fca9e53ecc8aef7c (patch) | |
tree | a88e48dfe6c6893d793c2f35318907fe9418b1c4 /pkg/adapter/containers_remote.go | |
parent | 34002f92ffa2c71c3f5190b6b73617f14652d674 (diff) | |
parent | 56a65cffac2cee3132c950d49ea8a5b46eabbff1 (diff) | |
download | podman-b263dd9e81bcadd3be5c7420fca9e53ecc8aef7c.tar.gz podman-b263dd9e81bcadd3be5c7420fca9e53ecc8aef7c.tar.bz2 podman-b263dd9e81bcadd3be5c7420fca9e53ecc8aef7c.zip |
Merge pull request #3800 from vrothberg/generate-pod
generate systemd pod
Diffstat (limited to 'pkg/adapter/containers_remote.go')
-rw-r--r-- | pkg/adapter/containers_remote.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/adapter/containers_remote.go b/pkg/adapter/containers_remote.go index 5a26f537f..590fef43f 100644 --- a/pkg/adapter/containers_remote.go +++ b/pkg/adapter/containers_remote.go @@ -951,7 +951,7 @@ func (r *LocalRuntime) Port(c *cliconfig.PortValues) ([]*Container, error) { // GenerateSystemd creates a systemd until for a container func (r *LocalRuntime) GenerateSystemd(c *cliconfig.GenerateSystemdValues) (string, error) { - return iopodman.GenerateSystemd().Call(r.Conn, c.InputArgs[0], c.RestartPolicy, int64(c.StopTimeout), c.Name) + return "", errors.New("systemd generation not supported for remote clients") } // GetNamespaces returns namespace information about a container for PS |