fix doc-comment pointers broken by the module-eval split
Both referenced the now-deleted nix/module-eval.nix. The nix side of each pairing is spread across multiple files post-split, so drop the cross-reference rather than chase it across files.
This commit is contained in:
parent
04cac80c97
commit
78ebd7db3f
2 changed files with 3 additions and 4 deletions
|
|
@ -8,8 +8,8 @@ use swarm_secret_client::{Error, SecretStore};
|
||||||
|
|
||||||
/// The cert-auth role the controller logs in under.
|
/// The cert-auth role the controller logs in under.
|
||||||
///
|
///
|
||||||
/// `nix/host-modules/swarm-bao.nix`'s `controllerPolicyName` creates the role,
|
/// `nix/host-modules/swarm-bao.nix`'s `controllerPolicyName` creates the
|
||||||
/// names the policy after it, and `nix/module-eval.nix` pins the literal.
|
/// role and names the policy after it.
|
||||||
///
|
///
|
||||||
/// ⚠️ Not the certificate's CN. The role *matches on* the CN
|
/// ⚠️ Not the certificate's CN. The role *matches on* the CN
|
||||||
/// (`allowed_common_names`), so the two are deliberately different strings.
|
/// (`allowed_common_names`), so the two are deliberately different strings.
|
||||||
|
|
|
||||||
|
|
@ -166,8 +166,7 @@ mod tests {
|
||||||
// Renaming any of these is a silent 403 at provision time, not a
|
// Renaming any of these is a silent 403 at provision time, not a
|
||||||
// compile error: the controller's grant spells the mount and root out
|
// compile error: the controller's grant spells the mount and root out
|
||||||
// in `nix/host-modules/swarm-bao.nix` (`controllerPolicyText`), which
|
// in `nix/host-modules/swarm-bao.nix` (`controllerPolicyText`), which
|
||||||
// no Rust change can reach. Editing here means editing there, and
|
// no Rust change can reach. Editing here means editing there.
|
||||||
// `nix/module-eval.nix` asserts the other side.
|
|
||||||
assert_eq!(MOUNT, "secret");
|
assert_eq!(MOUNT, "secret");
|
||||||
assert_eq!(ROOT, "swarm");
|
assert_eq!(ROOT, "swarm");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue