mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
make hot functions actually have logs now
This commit is contained in:
@@ -172,9 +172,8 @@ func (r *Runner) run(ctx context.Context, cfg *task.Config) (drivers.RunResult,
|
||||
cfg.Memory = 128
|
||||
}
|
||||
|
||||
cfg.Stderr = r.flog.Writer(ctx, cfg.AppName, cfg.Path, cfg.Image, cfg.ID)
|
||||
defer cfg.Stderr.Close() // TODO we should prob log this err but hey
|
||||
if cfg.Stdout == nil {
|
||||
// TODO why? async?
|
||||
cfg.Stdout = cfg.Stderr
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user