auto_update: rebuild all on startup, needs_update = applied HEAD vs deployed sha
This commit is contained in:
parent
4814aaefdb
commit
433bc85b91
4 changed files with 44 additions and 139 deletions
|
|
@ -1684,9 +1684,6 @@ async fn post_update_all(State(state): State<AppState>) -> Response {
|
|||
} else {
|
||||
continue;
|
||||
};
|
||||
if !crate::auto_update::agent_needs_update(&logical, ¤t_rev) {
|
||||
continue;
|
||||
}
|
||||
if let Err(e) =
|
||||
crate::auto_update::rebuild_agent(&state.coord, &logical, ¤t_rev).await
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue