This commit is contained in:
Aiden McClelland
2021-12-04 13:01:54 -07:00
committed by Aiden McClelland
parent c453f5c144
commit 92ff208bb7

View File

@@ -231,7 +231,6 @@ impl DependencyError {
.get(db, true)
.await?;
if status.main.running() {
dbg!((id, dependency));
DependencyError::HealthChecksFailed {
failures: BTreeMap::new(),
}
@@ -286,6 +285,11 @@ impl DependencyError {
.await?
}
}
MainStatus::Starting => {
DependencyError::Transitive
.try_heal(ctx, db, id, dependency, dependency_config, info)
.await?
}
_ => return Ok(Some(DependencyError::NotRunning)),
}
}