From debc710a899c523ede6d088defa2eb26d6deb44b Mon Sep 17 00:00:00 2001 From: Pedro Nasser Date: Wed, 22 Mar 2017 15:05:21 -0300 Subject: [PATCH] Add env vars for hotfunctions (#597) * add env vars for hot functions * remove fn_hot --- api/runner/worker.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/runner/worker.go b/api/runner/worker.go index 1a151c6da..91c4ee61b 100644 --- a/api/runner/worker.go +++ b/api/runner/worker.go @@ -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