mirror of
https://github.com/containers/skopeo.git
synced 2025-07-05 19:06:54 +00:00
return nicer error
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
01b47e3681
commit
2986c6d0d6
@ -27,7 +27,7 @@ func inspect(c *cli.Context) (*types.ImageInspect, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
case imgTypeAppc:
|
case imgTypeAppc:
|
||||||
return nil, fmt.Errorf("TODO")
|
return nil, fmt.Errorf("sorry, not implemented yet")
|
||||||
default:
|
default:
|
||||||
return nil, fmt.Errorf("%s image type is invalid, please use either 'docker' or 'appc'", imgType)
|
return nil, fmt.Errorf("%s image type is invalid, please use either 'docker' or 'appc'", imgType)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user