From 6e8c0d3d143f3c3760d1adb28800014af2126842 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Mon, 3 Feb 2020 20:38:41 +0100 Subject: [PATCH] Explain the nonsense of dropping keys from new map --- api/correlation/map.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/correlation/map.go b/api/correlation/map.go index dd3a09e11f1..13383f25332 100644 --- a/api/correlation/map.go +++ b/api/correlation/map.go @@ -59,7 +59,7 @@ func NewEmptyMap() Map { // NewMap creates a map with the contents of the update applied. In // this function, having an update with DropSingleK or DropMultiK -// makes no sense. +// makes no sense - those fields are effectively ignored. func NewMap(update MapUpdate) Map { return NewEmptyMap().Apply(update) }