mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Add env vars for hotfunctions (#597)
* add env vars for hot functions * remove fn_hot
This commit is contained in:
@@ -296,6 +296,7 @@ func (hc *htfn) serve(ctx context.Context) {
|
||||
}()
|
||||
|
||||
cfg := *hc.cfg
|
||||
cfg.Env["FN_FORMAT"] = cfg.Format
|
||||
cfg.Timeout = 0 // add a timeout to simulate ab.end. failure.
|
||||
cfg.Stdin = hc.containerIn
|
||||
cfg.Stdout = hc.containerOut
|
||||
|
||||
Reference in New Issue
Block a user