mirror of
https://github.com/containers/skopeo.git
synced 2025-06-28 15:47:34 +00:00
Update for changed types.Image/types.ImageCloser
This commit is contained in:
parent
27f320b27f
commit
0543f551c7
@ -59,8 +59,8 @@ func getDockerAuth(creds string) (*types.DockerAuthConfig, error) {
|
||||
}
|
||||
|
||||
// parseImage converts image URL-like string to an initialized handler for that image.
|
||||
// The caller must call .Close() on the returned Image.
|
||||
func parseImage(c *cli.Context) (types.Image, error) {
|
||||
// The caller must call .Close() on the returned ImageCloser.
|
||||
func parseImage(c *cli.Context) (types.ImageCloser, error) {
|
||||
imgName := c.Args().First()
|
||||
ref, err := alltransports.ParseImageName(imgName)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user