mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +00:00
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:
@@ -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{},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user