mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
fixes #868
This commit is contained in:
committed by
Aiden McClelland
parent
c453f5c144
commit
92ff208bb7
@@ -231,7 +231,6 @@ impl DependencyError {
|
|||||||
.get(db, true)
|
.get(db, true)
|
||||||
.await?;
|
.await?;
|
||||||
if status.main.running() {
|
if status.main.running() {
|
||||||
dbg!((id, dependency));
|
|
||||||
DependencyError::HealthChecksFailed {
|
DependencyError::HealthChecksFailed {
|
||||||
failures: BTreeMap::new(),
|
failures: BTreeMap::new(),
|
||||||
}
|
}
|
||||||
@@ -286,6 +285,11 @@ impl DependencyError {
|
|||||||
.await?
|
.await?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
MainStatus::Starting => {
|
||||||
|
DependencyError::Transitive
|
||||||
|
.try_heal(ctx, db, id, dependency, dependency_config, info)
|
||||||
|
.await?
|
||||||
|
}
|
||||||
_ => return Ok(Some(DependencyError::NotRunning)),
|
_ => return Ok(Some(DependencyError::NotRunning)),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user