From 35a5c947312dca35fadeaad53d557a3e65095ce2 Mon Sep 17 00:00:00 2001 From: Soam Vasani Date: Fri, 4 Nov 2016 10:29:44 -0700 Subject: [PATCH] Add a reaped bit to funcSvc struct --- poolmgr/api.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/poolmgr/api.go b/poolmgr/api.go index aaa2b0c0..da7ee496 100644 --- a/poolmgr/api.go +++ b/poolmgr/api.go @@ -35,10 +35,12 @@ import ( ) type funcSvc struct { - function *fission.Metadata // function this thing is for + function *fission.Metadata // function this pod/service is for environment *fission.Environment // env it was obtained from serviceName string // name of k8s svc + reaped bool // if true, the pod has been deleted + ctime time.Time atime time.Time }