Use fission.Cache for functionServiceMap

This commit is contained in:
Soam Vasani
2016-11-04 23:05:29 -07:00
parent 5cfe4b7c1d
commit f639bc3558
2 changed files with 17 additions and 75 deletions
+3
View File
@@ -81,6 +81,9 @@ func (rrt RetryingRoundTripper) RoundTrip(req *http.Request) (*http.Response, er
}
func (fh *functionHandler) tapService(serviceUrl *url.URL) {
if fh.poolmgr == nil {
return
}
err := fh.poolmgr.TapService(serviceUrl)
if err != nil {
log.Printf("tap service error: %v", serviceUrl.String())