Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
meowjesty committed Oct 19, 2024
1 parent ddd5081 commit e4d5095
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mirrord/cli/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ pub(crate) enum OperatorSetupError {

#[derive(Debug, Error, Diagnostic)]
pub(crate) enum CliError {
/// Do not construct this variant directly, use [`CliError::auth_exec_error_or`] to allow for
/// more granular error detection.
/// Do not construct this variant directly, use [`CliError::friendlier_error_or_else`] to allow
/// for more granular error detection.
#[error("Failed to create Kubernetes API client: {0}")]
#[diagnostic(help("Please check that Kubernetes is configured correctly and test your connection with `kubectl get pods`.{GENERAL_HELP}"))]
CreateKubeApiFailed(KubeApiError),
Expand All @@ -167,8 +167,8 @@ pub(crate) enum CliError {
#[diagnostic(help("Please check that Kubernetes is configured correctly and test your connection with `kubectl get pods`.{GENERAL_HELP}"))]
ListTargetsFailed(KubeApiError),

/// Do not construct this variant directly, use [`CliError::auth_exec_error_or`] to allow for
/// more granular error detection.
/// Do not construct this variant directly, use [`CliError::friendlier_error_or_else`] to allow
/// for more granular error detection.
#[error("Failed to create mirrord-agent: {0}")]
#[diagnostic(help(
r"1. Please check the status of the agent pod, using `kubectl get pods` in the relevant namespace.
Expand All @@ -177,8 +177,8 @@ pub(crate) enum CliError {
))]
CreateAgentFailed(KubeApiError),

/// Do not construct this variant directly, use [`CliError::auth_exec_error_or`] to allow for
/// more granular error detection.
/// Do not construct this variant directly, use [`CliError::friendlier_error_or_else`] to allow
/// for more granular error detection.
#[error("Failed to connect to the created mirrord-agent: {0}")]
#[diagnostic(help(
"Please check the following:
Expand Down

0 comments on commit e4d5095

Please sign in to comment.