Add placeholder fleet status check
This commit is contained in:
parent
388d72ecf7
commit
9bc6c9e0b9
6
harborwatch/checks.py
Normal file
6
harborwatch/checks.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
"""Fleet status checks."""
|
||||||
|
|
||||||
|
|
||||||
|
def fleet_status(service_name):
|
||||||
|
# Placeholder until the real deploy API client is wired up.
|
||||||
|
return f"{service_name}: status check not yet implemented"
|
||||||
5
tests/test_checks.py
Normal file
5
tests/test_checks.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
from harborwatch.checks import fleet_status
|
||||||
|
|
||||||
|
|
||||||
|
def test_placeholder_status():
|
||||||
|
assert "not yet implemented" in fleet_status("routeforge")
|
||||||
Loading…
Reference in New Issue
Block a user