fix(#1591): singular grammar for one pending-login agent
This commit is contained in:
parent
2157c3ae01
commit
aa86af845a
1 changed files with 2 additions and 1 deletions
|
|
@ -98,10 +98,11 @@ pub fn agent_state_warnings<S: std::hash::BuildHasher>(
|
|||
kind: "pending_logins",
|
||||
level: "warn",
|
||||
message: format!(
|
||||
"{n} agent{plural} need claude login: {list} \
|
||||
"{n} agent{plural} {verb} claude login: {list} \
|
||||
— run `hivectl login <agent>` to authenticate",
|
||||
n = pending.len(),
|
||||
plural = if pending.len() == 1 { "" } else { "s" },
|
||||
verb = if pending.len() == 1 { "needs" } else { "need" },
|
||||
list = pending.join(", "),
|
||||
),
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue