Skip to content

Commit e6f91c0

Browse files
committed
fix(lint): satisfy clippy doc lints on main-landed sandbox_runtime code
The shared-supervisor landing (9a85667) predates the last Branch Checks run on main, so its doc-comment style was never gated. Split the three overlong first doc paragraphs so workspace clippy -D warnings passes; behavior is unchanged. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com>
1 parent 17fd4cd commit e6f91c0

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

‎crates/openshell-driver-kubernetes/src/sandbox_runtime.rs‎

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ pub const SUPERVISOR_AUTH_BUNDLE_KEY: &str = "auth.json";
4040
pub const PROXY_CA_CERTIFICATE_KEY: &str = "proxy-ca.crt";
4141
pub const PROXY_CA_PRIVATE_KEY: &str = "proxy-ca.key";
4242
/// Optional bootstrap-Secret key holding the operator's corporate proxy CA
43-
/// bundle (`proxy_ca_bundle`). Distinct from [`PROXY_CA_CERTIFICATE_KEY`],
44-
/// which is the sandbox's own generated TLS-interception CA.
43+
/// bundle (`proxy_ca_bundle`).
44+
///
45+
/// Distinct from [`PROXY_CA_CERTIFICATE_KEY`], which is the sandbox's own
46+
/// generated TLS-interception CA.
4547
pub const UPSTREAM_PROXY_CA_BUNDLE_KEY: &str = "upstream-proxy-ca.pem";
4648
/// JSON sandbox instance registration of a generation on the shared supervisor.
4749
pub const SHARED_INSTANCE_KEY: &str = "instance.json";
@@ -205,8 +207,10 @@ pub fn workload_fence(
205207
}
206208

207209
/// Per-sandbox Sandbox Protocol endpoint. Its stable `ClusterIP` is allocated
208-
/// before either Pod runs. Each connection mode has a separate Service name
209-
/// and fixed selector, so legacy gateways keep their workload endpoint.
210+
/// before either Pod runs.
211+
///
212+
/// Each connection mode has a separate Service name and fixed selector, so
213+
/// legacy gateways keep their workload endpoint.
210214
#[must_use]
211215
pub fn boundary_service(
212216
namespace: &str,
@@ -692,7 +696,9 @@ pub fn supervisor_bootstrap_secret(
692696

693697
/// Durable launch material of one shared-supervisor sandbox instance, under
694698
/// the generation's supervisor Secret name so the existing generation cleanup
695-
/// deletes it. The gateway reads it back to rebuild the host's assignments.
699+
/// deletes it.
700+
///
701+
/// The gateway reads it back to rebuild the host's assignments.
696702
#[must_use]
697703
pub fn shared_instance_secret(
698704
namespace: &str,

0 commit comments

Comments
 (0)