Minor update

This commit is contained in:
TwiN 2021-12-13 19:23:35 -05:00
parent 00aec70fb8
commit eb9acef9b5

View File

@ -3,8 +3,8 @@ package util
import "strings" import "strings"
// ConvertGroupAndEndpointNameToKey converts a group and an endpoint to a key // ConvertGroupAndEndpointNameToKey converts a group and an endpoint to a key
func ConvertGroupAndEndpointNameToKey(group, endpoint string) string { func ConvertGroupAndEndpointNameToKey(groupName, endpointName string) string {
return sanitize(group) + "_" + sanitize(endpoint) return sanitize(groupName) + "_" + sanitize(endpointName)
} }
func sanitize(s string) string { func sanitize(s string) string {