mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 00:17:39 +01: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.