diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-10-20 15:18:25 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-11-16 14:41:18 +0100 |
commit | 33ec8c6698473ab650df65b958e910e03e240fe6 (patch) | |
tree | b0cb43f60073f87fae2f5d3b4093a7a387ce310a /cmd/podman | |
parent | be681ab5189dea3eef73082d0b494699072e66aa (diff) | |
download | podman-33ec8c6698473ab650df65b958e910e03e240fe6.tar.gz podman-33ec8c6698473ab650df65b958e910e03e240fe6.tar.bz2 podman-33ec8c6698473ab650df65b958e910e03e240fe6.zip |
fix remote checkpoint/restore
Nothing was working before, and it's too much to summarize. To make
sure we're not regressing in the future again, enable the remote e2e
tests.
Fixes: #12007
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/containers/restore.go | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/cmd/podman/containers/restore.go b/cmd/podman/containers/restore.go index 217adc887..4ac14001a 100644 --- a/cmd/podman/containers/restore.go +++ b/cmd/podman/containers/restore.go @@ -12,7 +12,6 @@ import ( "github.com/containers/podman/v3/cmd/podman/validate" "github.com/containers/podman/v3/pkg/domain/entities" "github.com/containers/podman/v3/pkg/rootless" - "github.com/containers/podman/v3/pkg/specgenutil" "github.com/pkg/errors" "github.com/spf13/cobra" ) @@ -120,12 +119,7 @@ func restore(cmd *cobra.Command, args []string) error { if err != nil { return err } - if len(inputPorts) > 0 { - restoreOptions.PublishPorts, err = specgenutil.CreatePortBindings(inputPorts) - if err != nil { - return err - } - } + restoreOptions.PublishPorts = inputPorts argLen := len(args) if restoreOptions.Import != "" { |