fix bug with dep error exists attr

This commit is contained in:
Matt Hill
2025-12-20 20:10:22 -07:00
parent 4f09d7e302
commit 940feebff7
2 changed files with 8 additions and 9 deletions

View File

@@ -156,15 +156,14 @@ export class DepErrorService {
const depStatus = getInstalledBaseStatus(dep.statusInfo)
// not running
if (depStatus !== 'running' && depStatus !== 'starting') {
return {
type: 'notRunning',
}
}
// health check failure
if (currentDep?.kind === 'running') {
// not running
if (depStatus !== 'running' && depStatus !== 'starting') {
return {
type: 'notRunning',
}
}
// health check failure
for (let id of currentDep.healthChecks) {
const check = dep.statusInfo.health[id]
if (check?.result !== 'success') {