mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-01 21:10:13 +00:00
When a resource exists in the hostname or IP index but has been removed from the main resources map, looking up and accessing .Type would cause a nil pointer dereference panic. The MachineID lookup already had this check, but hostname and IP lookups were missing it. This adds consistent nil checking across all three lookup paths. |
||
|---|---|---|
| .. | ||
| converters.go | ||
| converters_coverage_test.go | ||
| converters_test.go | ||
| coverage_test.go | ||
| ip_filtering_test.go | ||
| platform_data.go | ||
| populate_test.go | ||
| resource.go | ||
| store.go | ||
| store_test.go | ||