Add env vars for hotfunctions (#597)

* add env vars for hot functions

* remove fn_hot
This commit is contained in:
Pedro Nasser
2017-03-22 15:05:21 -03:00
committed by GitHub
parent 96fe4ee109
commit debc710a89

View File

@@ -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