Don't flat-embed sampling in the report

In the JSON representation, we want the Sampling data to be distinct.
This commit is contained in:
Peter Bourgon
2015-07-31 15:21:41 +02:00
parent b9afa67ad6
commit c7a06d2a43

View File

@@ -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{},
}
}