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:
Bryan Boreham
2019-09-18 08:00:28 +00:00
parent b6d5594f9f
commit 951629af29
+1 -1
View File
@@ -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