diff --git a/report/id.go b/report/id.go index b3f0170ac..2ffc0b2a3 100644 --- a/report/id.go +++ b/report/id.go @@ -175,15 +175,6 @@ func ParsePodNodeID(podNodeID string) (namespaceID, podID string, ok bool) { return fields[0], fields[1], true } -// ParseServiceNodeID produces the namespace ID and service ID from an service node ID. -func ParseServiceNodeID(serviceNodeID string) (namespaceID, serviceID string, ok bool) { - fields := strings.SplitN(serviceNodeID, ScopeDelim, 2) - if len(fields) != 2 { - return "", "", false - } - return fields[0], fields[1], true -} - // ExtractHostID extracts the host id from Node func ExtractHostID(m Node) string { hostNodeID, _ := m.Latest.Lookup(HostNodeID)