Skip to content

Commit 41bad1e

Browse files
committed
clippy
1 parent 14b7b8a commit 41bad1e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • rust/operator-binary/src/restart_controller

rust/operator-binary/src/restart_controller/pod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ async fn reconcile(pod: Arc<PartialObjectMeta<Pod>>, ctx: Arc<Ctx>) -> Result<Ac
199199
/// Because of this, we don't emit an error for this case, but only product a INFO trace.
200200
///
201201
/// `ERROR stackable_operator::logging::controller: Failed to reconcile object controller.name="pod.restarter.commons.stackable.tech" error=reconciler for object Pod.v1./trino-worker-default-0.default failed error.sources=[failed to evict Pod, ApiError: Cannot evict pod as it would violate the pod's disruption budget.: TooManyRequests (ErrorResponse { status: "Failure", message: "Cannot evict pod as it would violate the pod's disruption budget.", reason: "TooManyRequests", code: 429 }), Cannot evict pod as it would violate the pod's disruption budget.: TooManyRequests]`
202+
#[allow(clippy::type_complexity)] // The result type complexity comes from kube-rs and is what it is
202203
async fn report_result(
203204
result: Result<
204205
(ObjectRef<PartialObjectMeta<Pod>>, Action),

0 commit comments

Comments
 (0)