mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-27 02:41:53 +00:00
fix dependency error
This commit is contained in:
@@ -392,10 +392,12 @@ impl DependencyErrors {
|
||||
failures.insert(check.clone(), res);
|
||||
}
|
||||
}
|
||||
self.0.insert(
|
||||
dep_id.clone(),
|
||||
DependencyError::HealthChecksFailed { failures },
|
||||
);
|
||||
if !failures.is_empty() {
|
||||
self.0.insert(
|
||||
dep_id.clone(),
|
||||
DependencyError::HealthChecksFailed { failures },
|
||||
);
|
||||
}
|
||||
}
|
||||
_ => {
|
||||
self.0.insert(dep_id.clone(), DependencyError::NotRunning);
|
||||
|
||||
Reference in New Issue
Block a user