From eaafe4db6f221991cbd62a2a65d7209f0a29b69f Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Sun, 25 Mar 2018 09:02:36 +0100 Subject: [PATCH] copy Shortcut property in Report.Copy() This was causing shortcut reports to be delivered as normal reports. This got broken in 0ecb908c229, when Report.BackwardCompatible(), which does a Copy(), was introduced in the publishing path. Fixes #3113. --- report/report.go | 1 + 1 file changed, 1 insertion(+) diff --git a/report/report.go b/report/report.go index 759ad2b47..ac70aade6 100644 --- a/report/report.go +++ b/report/report.go @@ -259,6 +259,7 @@ func (r Report) Copy() Report { DNS: r.DNS.Copy(), Sampling: r.Sampling, Window: r.Window, + Shortcut: r.Shortcut, Plugins: r.Plugins.Copy(), ID: fmt.Sprintf("%d", rand.Int63()), }