Watch
0
0
Fork
You've already forked hyperhive
0

move hiveName to deploy.hive-controller; only a hive host needs a name

This commit is contained in:
atlas 2026-10-26 16:06:11 +01:00 • committed by mara
commit 0c6e8fc5a2
37 changed files with 402 additions and 215 deletions

View file

@ -32,7 +32,7 @@ pub fn hive_domain() -> Option<String> {
/// [`hive_domain`] — the domain is the machine-readable DNS address;
/// this is the prose label humans use in conversation. Reads the
/// `HYPERHIVE_HIVE_NAME` env var; returns None when it is unset or empty
/// (the host's `services.hyperhive.hiveName` is unset), in which case
/// (the host's `services.hyperhive.deploy.hive-controller.hiveName` is unset), in which case
/// callers fall back to the domain or the short label at their discretion.
#[must_use]
pub fn hive_name() -> Option<String> {