From c7a06d2a435d83be7ba7b9749a0f937f185277bf Mon Sep 17 00:00:00 2001 From: Peter Bourgon Date: Fri, 31 Jul 2015 15:21:41 +0200 Subject: [PATCH] Don't flat-embed sampling in the report In the JSON representation, we want the Sampling data to be distinct. --- report/report.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/report/report.go b/report/report.go index ca1eaa470..797bd11f1 100644 --- a/report/report.go +++ b/report/report.go @@ -40,7 +40,7 @@ type Report struct { Overlay Topology // Sampling data for this report. - Sampling + Sampling Sampling } // MakeReport makes a clean report, ready to Merge() other reports into. @@ -53,6 +53,7 @@ func MakeReport() Report { ContainerImage: NewTopology(), Host: NewTopology(), Overlay: NewTopology(), + Sampling: Sampling{}, } }