Skip to content

Commit 49039e3

Browse files
committed
Update rustdoc
1 parent dd593a8 commit 49039e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/stackable-cockpit/src/platform/operator/listener_operator.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ enum KubernetesEnvironment {
7474

7575
/// Tries to guess what Kubernetes environment stackablectl is connecting to.
7676
///
77-
/// Returns an `Err(())` in case anything goes wrong. This could e.g. be the case in case no
77+
/// Returns an error in case anything goes wrong. This could e.g. be the case in case no
7878
/// Kubernetes context is configured, stackablectl is missing RBAC permission to retrieve nodes or
79-
/// simply a network error,
79+
/// simply a network error.
8080
#[instrument]
8181
async fn guess_kubernetes_environment() -> Result<KubernetesEnvironment, snafu::Whatever> {
8282
let client = Client::try_default()

0 commit comments

Comments
 (0)