diff options
author | Toshiki Sonoda <sonoda.toshiki@fujitsu.com> | 2022-09-15 11:36:02 +0900 |
---|---|---|
committer | Toshiki Sonoda <sonoda.toshiki@fujitsu.com> | 2022-09-16 16:46:14 +0900 |
commit | d63e49a26aa6df344ea3569cdb9f1b44d7f1256f (patch) | |
tree | 36b20a004b6d0907a6910aff435ee18880a44e37 /pkg/domain | |
parent | a73b150e70804907bb2c10390da766a0c6bc7485 (diff) | |
download | podman-d63e49a26aa6df344ea3569cdb9f1b44d7f1256f.tar.gz podman-d63e49a26aa6df344ea3569cdb9f1b44d7f1256f.tar.bz2 podman-d63e49a26aa6df344ea3569cdb9f1b44d7f1256f.zip |
remote: checkpoint --export prints a rawInput or an error on remote
This commit fixes `container checkpoint --export`
to print a rawInput or an error.
Fixes: #15743
Signed-off-by: Toshiki Sonoda <sonoda.toshiki@fujitsu.com>
Diffstat (limited to 'pkg/domain')
-rw-r--r-- | pkg/domain/infra/tunnel/containers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/containers.go b/pkg/domain/infra/tunnel/containers.go index 572807ad6..0dc73081d 100644 --- a/pkg/domain/infra/tunnel/containers.go +++ b/pkg/domain/infra/tunnel/containers.go @@ -413,7 +413,7 @@ func (ic *ContainerEngine) ContainerCheckpoint(ctx context.Context, namesOrIds [ if err != nil { reports = append(reports, &entities.CheckpointReport{Id: c.ID, Err: err}) } else { - report.RawInput = idToRawInput[report.Id] + report.RawInput = idToRawInput[c.ID] reports = append(reports, report) } } |