summaryrefslogtreecommitdiff
path: root/cmd/podman/manifest/create.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-15 15:53:16 +0100
committerGitHub <noreply@github.com>2022-01-15 15:53:16 +0100
commita50d0837b633bf780b32a20b8d4f23ccd9521c8d (patch)
tree6b24e2243b6a8178ba9581de545d21df82bdb4d5 /cmd/podman/manifest/create.go
parentb84131eef879049a43f7cd00831575fa118cdefb (diff)
parent8a7e70919f4bab0757523ae97c170396cb13c83d (diff)
downloadpodman-a50d0837b633bf780b32a20b8d4f23ccd9521c8d.tar.gz
podman-a50d0837b633bf780b32a20b8d4f23ccd9521c8d.tar.bz2
podman-a50d0837b633bf780b32a20b8d4f23ccd9521c8d.zip
Merge pull request #12527 from jwhonce/wip/manifest4
Refactor manifest list operations
Diffstat (limited to 'cmd/podman/manifest/create.go')
-rw-r--r--cmd/podman/manifest/create.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/podman/manifest/create.go b/cmd/podman/manifest/create.go
index 95c9f89b0..acef53045 100644
--- a/cmd/podman/manifest/create.go
+++ b/cmd/podman/manifest/create.go
@@ -1,7 +1,6 @@
package manifest
import (
- "context"
"fmt"
"github.com/containers/podman/v3/cmd/podman/common"
@@ -36,7 +35,7 @@ func init() {
}
func create(cmd *cobra.Command, args []string) error {
- imageID, err := registry.ImageEngine().ManifestCreate(context.Background(), args[:1], args[1:], manifestCreateOpts)
+ imageID, err := registry.ImageEngine().ManifestCreate(registry.Context(), args[0], args[1:], manifestCreateOpts)
if err != nil {
return err
}