fix various issues and add more trace logs

This commit is contained in:
zerodoctor
2023-10-07 00:12:59 -05:00
parent 7603b84fa2
commit c53198e343
5 changed files with 43 additions and 16 deletions

View File

@@ -84,7 +84,7 @@ func (c *daemonCommand) run(*kingpin.ParseContext) error {
opts := engine.Opts{
HidePull: !config.Podman.Stream,
}
engine, err := engine.NewEnv(context.Background(), opts)
engine, err := engine.NewEnv(ctx, opts)
if err != nil {
logrus.WithError(err).
Fatalln("cannot load the podman engine")