Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multicluster: Fix metadata prefix matching (linkerd#7825)
When formatting event metadata, the method `formatMetadata` checks if a given string in the metadata map contains a given prefix. However it does this using `strings.Contains` rather than `strings.HasPrefix`, which will return true if the given prefix string is located anywhere in the target string to search. Signed-off-by: Oliver Gould <[email protected]>
- Loading branch information