move hiveName to deploy.hive-controller; only a hive host needs a name
This commit is contained in:
parent
67f0d6a9d3
commit
0c6e8fc5a2
37 changed files with 402 additions and 215 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue