Skip to content

Commit

Permalink
Fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Razz4780 committed Dec 7, 2023
1 parent 8d48b16 commit b9bcccf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mirrord/cli/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ trait OperatorApiErrorExt {
impl OperatorApiErrorExt for OperatorApiError {
fn should_abort_cli(&self) -> bool {
match self {
Self::KubeError { .. } => false, /* This can happen due to RBAC if the operator is
* not installed. */
// Various kube errors can happen due to RBAC if the operator is not installed.
Self::KubeError { .. } => false,
// These should either never happen or can happen only if the operator is installed.
Self::ConcurrentStealAbort
| Self::ConnectRequestBuildError(..)
| Self::CreateApiError(..)
Expand Down

0 comments on commit b9bcccf

Please sign in to comment.