Skip to content

Commit

Permalink
Merge pull request #7220 from baude/issue7124
Browse files Browse the repository at this point in the history
podman-remote send name and tag
  • Loading branch information
openshift-merge-robot authored Aug 5, 2020
2 parents a948635 + 77f7bf9 commit 0d4a269
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion pkg/domain/infra/tunnel/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,11 @@ func (ir *ImageEngine) Load(ctx context.Context, opts entities.ImageLoadOptions)
return nil, err
}
defer f.Close()
return images.Load(ir.ClientCxt, f, &opts.Name)
ref := opts.Name
if len(opts.Tag) > 0 {
ref += ":" + opts.Tag
}
return images.Load(ir.ClientCxt, f, &ref)
}

func (ir *ImageEngine) Import(ctx context.Context, opts entities.ImageImportOptions) (*entities.ImageImportReport, error) {
Expand Down
2 changes: 0 additions & 2 deletions test/system/120-load.bats
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ verify_iid_and_name() {
}

@test "podman load - NAME and NAME:TAG arguments work" {
skip_if_remote "FIXME: pending #7124"

get_iid_and_name
run_podman save $iid -o $archive
run_podman rmi $iid
Expand Down

0 comments on commit 0d4a269

Please sign in to comment.