mirror of
https://github.com/weaveworks/scope.git
synced 2026-02-15 18:39:53 +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 Topology
|
||||
|
||||
DNS DNSRecords
|
||||
DNS DNSRecords `json:"nodes,omitempty" deepequal:"nil==empty"`
|
||||
|
||||
// Sampling data for this report.
|
||||
Sampling Sampling
|
||||
|
||||
Reference in New Issue
Block a user