heal dependents when config changes

This commit is contained in:
elvece
2021-10-21 14:49:34 -06:00
committed by Aiden McClelland
parent 25977292e1
commit c6e379bffa

View File

@@ -17,10 +17,7 @@ use crate::action::docker::DockerAction;
use crate::context::RpcContext;
use crate::db::model::CurrentDependencyInfo;
use crate::db::util::WithRevision;
use crate::dependencies::{
break_transitive, update_current_dependents, BreakageRes, DependencyError, DependencyErrors,
TaggedDependencyError,
};
use crate::dependencies::{BreakageRes, DependencyError, DependencyErrors, TaggedDependencyError, break_transitive, heal_all_dependents_transitive, update_current_dependents};
use crate::install::cleanup::remove_current_dependents;
use crate::s9pk::manifest::{Manifest, PackageId};
use crate::util::{
@@ -501,6 +498,7 @@ pub fn configure<'a, Db: DbHandle>(
}
}
}
heal_all_dependents_transitive(ctx, db, id).await?;
}
}