From eb9acef9b5bc36ad5dc5b309e979d592fde1db9d Mon Sep 17 00:00:00 2001 From: TwiN Date: Mon, 13 Dec 2021 19:23:35 -0500 Subject: [PATCH] Minor update --- util/key.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/key.go b/util/key.go index a5c6e49d..a56a21ec 100644 --- a/util/key.go +++ b/util/key.go @@ -3,8 +3,8 @@ package util import "strings" // ConvertGroupAndEndpointNameToKey converts a group and an endpoint to a key -func ConvertGroupAndEndpointNameToKey(group, endpoint string) string { - return sanitize(group) + "_" + sanitize(endpoint) +func ConvertGroupAndEndpointNameToKey(groupName, endpointName string) string { + return sanitize(groupName) + "_" + sanitize(endpointName) } func sanitize(s string) string {