diff --git a/api/agent/lb_agent.go b/api/agent/lb_agent.go index ba3ca0eab..2bbf0faa7 100644 --- a/api/agent/lb_agent.go +++ b/api/agent/lb_agent.go @@ -140,18 +140,6 @@ func (a *lbAgent) Close() error { return err } -func GetGroupID(call *models.Call) string { - // TODO until fn supports metadata, allow LB Group ID to - // be overridden via configuration. - // Note that employing this mechanism will expose the value of the - // LB Group ID to the function as an environment variable! - lbgID := call.Config["FN_LB_GROUP_ID"] - if lbgID == "" { - return "default" - } - return lbgID -} - func (a *lbAgent) Submit(callI Call) error { if !a.shutWg.AddSession(1) { return models.ErrCallTimeoutServerBusy