Use latest version of function for watches

This commit is contained in:
Soam Vasani
2016-12-11 00:07:25 -08:00
parent 193cf594be
commit 0fb4cc1536
3 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ func (ts *HTTPTriggerSet) getRouter() *mux.Router {
for _, function := range ts.functions {
fh := &functionHandler{
fmap: ts.functionServiceMap,
Function: function.Metadata,
Function: fission.Metadata{Name: function.Metadata.Name},
poolmgr: ts.poolmgr,
}
muxRouter.HandleFunc(fission.UrlForFunction(&function.Metadata),