api/types/container: make HealthStatus a concrete type

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-11-07 18:36:12 +01:00
parent 1fd87e9fdf
commit db71c6a914
8 changed files with 27 additions and 24 deletions

View File

@@ -23,7 +23,7 @@ func (s *Health) String() string {
case container.Starting:
return "health: starting"
default: // Healthy and Unhealthy are clear on their own
return status
return string(status)
}
}