BUG: Containers tab always shows RUNNING badge and hardcoded 0% CPU / 0 MB memory #84
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Two issues in the Containers admin tab (
GET /api/v1/cluster/containers):1. State badge always says "RUNNING"
screens-admin.jsxrenders<span className="badge success">RUNNING</span>unconditionally — it never readsc.stateto display the actual container state (e.g., "exited", "paused", "restarting").2. CPU and memory hardcoded to 0
services/mam-api/src/routes/cluster.jsmaps Docker API results to frontend fields with hardcoded zeros:The frontend
Containerscomponent renders these values as progress bars and labels, always showing0.0%CPU and0 MBmemory.Impact: The Containers tab is misleading:
Suggestions:
c.state(e.g.,running,exited,paused) and render an appropriate badge/colordocker stats --no-stream) or hide the columns with a note such as "Docker stats not yet wired"