hive-c0re: fix two more comments with the same stale repo-created-after-spawn premise
This commit is contained in:
parent
e5a9703e00
commit
7d80f5146d
2 changed files with 11 additions and 7 deletions
|
|
@ -466,10 +466,12 @@ pub async fn clone_config_into_proposed(dir: &Path, name: &str) -> bool {
|
|||
true
|
||||
}
|
||||
Ok(o) => {
|
||||
// `info`, not `warn`: on the hive-level create flow every first
|
||||
// spawn lands here and nothing is wrong. Logged at all because
|
||||
// "where did this agent's config come from" is worth answering
|
||||
// from the journal, and proposed is seeded exactly once.
|
||||
// `info`, not `warn`: the normal case right after
|
||||
// `swarm-controller` creates the agent, before it has pushed
|
||||
// anything into the repo it just made, and nothing is wrong.
|
||||
// Logged at all because "where did this agent's config come
|
||||
// from" is worth answering from the journal, and proposed is
|
||||
// seeded exactly once.
|
||||
tracing::info!(
|
||||
%name,
|
||||
stderr = %String::from_utf8_lossy(&o.stderr).trim(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue