Skip to content

Commit

Permalink
Docs fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Razz4780 committed Feb 6, 2025
1 parent 257762b commit 61b67d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion mirrord/kube/src/api/container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub struct ContainerParams {
pub name: String,
pub gid: u16,
pub port: u16,
/// Value for [`AGENT_OPERATOR_CERT_ENV`](mirrord_protocol::AGENT_OPERATOR_CERT_ENV) set in
/// Value for [`OPERATOR_CERT`](mirrord_agent_env::envs::OPERATOR_CERT) set in
/// the agent container.
pub tls_cert: Option<String>,
pub pod_ips: Option<Vec<IpAddr>>,
Expand Down
10 changes: 4 additions & 6 deletions mirrord/kube/src/api/kubernetes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,8 @@ impl KubernetesAPI {
/// # Params
///
/// * `config` - if passed, will be checked against cluster setup
/// * `tls_cert` - value for
/// [`AGENT_OPERATOR_CERT_ENV`](mirrord_protocol::AGENT_OPERATOR_CERT_ENV), for creating an
/// agent from the operator. In usage from this repo this is always `None`.
/// * `tls_cert` - value for [`OPERATOR_CERT`](mirrord_agent_env::envs::OPERATOR_CERT), for
/// creating an agent from the operator. In usage from this repo this is always `None`.
/// * `agent_port` - port number on which the agent will listen for client connections. If
/// [`None`] is given, a random high port will be user.
#[tracing::instrument(level = "trace", skip(self), ret, err)]
Expand Down Expand Up @@ -206,9 +205,8 @@ impl KubernetesAPI {
/// # Params
///
/// * `config` - if passed, will be checked against cluster setup
/// * `tls_cert` - value for
/// [`AGENT_OPERATOR_CERT_ENV`](mirrord_agent_env::AGENT_OPERATOR_CERT_ENV), for creating an
/// agent from the operator. In usage from this repo this is always `None`.
/// * `tls_cert` - value for [`OPERATOR_CERT`](mirrord_agent_env::envs::OPERATOR_CERT), for
/// creating an agent from the operator. In usage from this repo this is always `None`.
/// * `agent_port` - port number on which the agent will listen for client connections. If
/// [`None`] is given, a random high port will be used.
#[tracing::instrument(level = "trace", skip(self, progress))]
Expand Down

0 comments on commit 61b67d8

Please sign in to comment.