diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-09-05 06:42:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-05 06:42:36 -0400 |
commit | f1323a941c7b5709197def5d10ad79ed24bbbc35 (patch) | |
tree | 3d0e1b98c20b4d5191f86b57d8197bf6daadf4f5 /pkg/domain/infra/tunnel/generate.go | |
parent | 6862cc667761fe3cb8dd45a3491cdca977d493cf (diff) | |
parent | ebfea2f4f89328ec3f74a8deedb3e727ce89ea59 (diff) | |
download | podman-f1323a941c7b5709197def5d10ad79ed24bbbc35.tar.gz podman-f1323a941c7b5709197def5d10ad79ed24bbbc35.tar.bz2 podman-f1323a941c7b5709197def5d10ad79ed24bbbc35.zip |
Merge pull request #7329 from Luap99/generate-systemd-remote
APIv2 add generate systemd endpoint
Diffstat (limited to 'pkg/domain/infra/tunnel/generate.go')
-rw-r--r-- | pkg/domain/infra/tunnel/generate.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/domain/infra/tunnel/generate.go b/pkg/domain/infra/tunnel/generate.go index c7d5cd9e2..966f707b1 100644 --- a/pkg/domain/infra/tunnel/generate.go +++ b/pkg/domain/infra/tunnel/generate.go @@ -5,11 +5,10 @@ import ( "github.com/containers/podman/v2/pkg/bindings/generate" "github.com/containers/podman/v2/pkg/domain/entities" - "github.com/pkg/errors" ) func (ic *ContainerEngine) GenerateSystemd(ctx context.Context, nameOrID string, options entities.GenerateSystemdOptions) (*entities.GenerateSystemdReport, error) { - return nil, errors.New("not implemented for tunnel") + return generate.Systemd(ic.ClientCxt, nameOrID, options) } func (ic *ContainerEngine) GenerateKube(ctx context.Context, nameOrID string, options entities.GenerateKubeOptions) (*entities.GenerateKubeReport, error) { |