mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-25 08:16:33 +00:00
chore: allow Report.DNS field to be nil
Primarily to help when writing tests; may give a tiny performance benefit.
This commit is contained in:
@@ -188,7 +188,7 @@ type Report struct {
|
|||||||
// Job represent all Kubernetes Job on hosts running probes.
|
// Job represent all Kubernetes Job on hosts running probes.
|
||||||
Job Topology
|
Job Topology
|
||||||
|
|
||||||
DNS DNSRecords
|
DNS DNSRecords `json:"nodes,omitempty" deepequal:"nil==empty"`
|
||||||
|
|
||||||
// Sampling data for this report.
|
// Sampling data for this report.
|
||||||
Sampling Sampling
|
Sampling Sampling
|
||||||
|
|||||||
Reference in New Issue
Block a user