mirror of
https://github.com/containers/podman.git
synced 2025-12-09 23:27:09 +08:00
runtime: pass down the context
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@@ -87,7 +87,7 @@ func diffCmd(c *cliconfig.DiffValues) error {
|
||||
return errors.Errorf("container, image, or layer name must be specified: podman diff [options [...]] ID-NAME")
|
||||
}
|
||||
|
||||
runtime, err := adapter.GetRuntime(&c.PodmanCommand)
|
||||
runtime, err := adapter.GetRuntime(getContext(), &c.PodmanCommand)
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "could not get runtime")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user