Skip to content

Commit

Permalink
slight tweak to netbox health check
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Oct 23, 2024
1 parent 97b45bf commit 0ec12e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/project/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ def ready():
pipeline in malcolm_utils.deep_get(logstashStats, ["pipelines"], {})
for pipeline in logstash_default_pipelines
),
netbox=malcolm_utils.deep_get(netboxStatus, ["netbox-version"]),
netbox=bool(malcolm_utils.deep_get(netboxStatus, ["netbox-version"])),
opensearch=(malcolm_utils.deep_get(openSearchHealth, ["status"], 'red') != "red"),
pcap_monitor=pcapMonitorStatus,
zeek_extracted_file_logger=zeekExtractedFileLoggerStatus,
Expand Down

0 comments on commit 0ec12e3

Please sign in to comment.