Skip to content

Commit

Permalink
change to startswith
Browse files Browse the repository at this point in the history
  • Loading branch information
sarah-witt committed Dec 19, 2024
1 parent 9e4b6b5 commit caae890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octopus_deploy/datadog_checks/octopus_deploy/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def _collect_machine_metrics(self, space_id):
machine_slug = machine.get("Slug")
roles = machine.get("Roles", [])
health_status = machine.get("HealthStatus", None)
is_healthy = health_status == "Healthy"
is_healthy = health_status.startswith("Healthy")
machine_tags = [
f"machine_id:{machine_id}",
f"machine_name:{machine_name}",
Expand Down

0 comments on commit caae890

Please sign in to comment.