mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fn: lb_agent wait group unused, added to Close (#924)
This commit is contained in:
@@ -138,6 +138,7 @@ func (a *lbAgent) Close() error {
|
||||
|
||||
a.rp.Shutdown(ctx)
|
||||
err := a.delegatedAgent.Close()
|
||||
a.wg.Wait()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user