mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 18:45:53 +00:00
71bcc570ad
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.