feat: logs works fine

This commit is contained in:
fengcaiwen
2023-09-09 22:12:52 +08:00
committed by naison
parent cacb65efb9
commit da572aafb4
26 changed files with 252 additions and 209 deletions

View File

@@ -47,7 +47,8 @@ func run(ctx context.Context, runConfig *RunConfig, cli *client.Client, c *comma
}
}
if needPull {
if err = util.PullImage(ctx, runConfig.platform, cli, c, config.Image); err != nil {
err = util.PullImage(ctx, runConfig.platform, cli, c, config.Image, nil)
if err != nil {
return
}
}