Skip to content

Commit

Permalink
Fix: show mem / cpu stats for k8s partial health status (gethomepage#…
Browse files Browse the repository at this point in the history
  • Loading branch information
shamoon authored Nov 25, 2023
1 parent 6b35443 commit fb9ebf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/kubernetes/component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function Component({ service }) {
return <Container service={service} error={statsError ?? statusError} />;
}

if (statusData && statusData.status !== "running") {
if (statusData && !(statusData.status.includes("running") || statusData.status.includes("partial"))) {
return (
<Container>
<Block label={t("widget.status")} value={t("docker.offline")} />
Expand Down

0 comments on commit fb9ebf1

Please sign in to comment.