Skip to content

Commit

Permalink
podman-remote send name and tag
Browse files Browse the repository at this point in the history
when loading an image with podman-remote load, we need to send a name and a tag to the endpoint

Fixes: containers#7124

Signed-off-by: Brent Baude <bbaude@redhat.com>
  • Loading branch information
baude committed Aug 4, 2020
1 parent d4cf3c5 commit 3aa4b83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/domain/infra/tunnel/images.go
Expand Up @@ -196,7 +196,8 @@ 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 + ":" + opts.Tag
return images.Load(ir.ClientCxt, f, &ref)
}

func (ir *ImageEngine) Import(ctx context.Context, opts entities.ImageImportOptions) (*entities.ImageImportReport, error) {
Expand Down

0 comments on commit 3aa4b83

Please sign in to comment.