From af059c1aa639f73506ced5c5619406bd4f1be5a4 Mon Sep 17 00:00:00 2001 From: DanB Date: Tue, 5 Feb 2019 09:30:03 +0100 Subject: [PATCH] Variable declarations to fix build --- dispatchers/attributes.go | 2 +- utils/consts.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dispatchers/attributes.go b/dispatchers/attributes.go index ebc1f7ba7..140e1f344 100755 --- a/dispatchers/attributes.go +++ b/dispatchers/attributes.go @@ -25,7 +25,7 @@ import ( // AttributeSv1Ping interogates AttributeS server responsible to process the event func (dS *DispatcherService) AttributeSv1Ping(args *ArgsAttrProcessEventWithApiKey, - reply *string) error { + reply *string) (err error) { if dS.attrS != nil { if err = dS.authorize(utils.AttributeSv1Ping, args.AttrArgsProcessEvent.CGREvent.Tenant, diff --git a/utils/consts.go b/utils/consts.go index d59eb2d8c..d44e2bf48 100755 --- a/utils/consts.go +++ b/utils/consts.go @@ -503,7 +503,6 @@ const ( CGR_ACD = "cgr_acd" FilterIDs = "FilterIDs" FieldName = "FieldName" - APIMethod = "APIMethod" Initial = "Initial" Substitute = "Substitute" Append = "Append"