Skip to content

Commit 99a39af

Browse files
committed
chore: Fix and allow Clippy lints
1 parent 224c560 commit 99a39af

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

rust/operator-binary/src/kafka_controller.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ impl ReconcilerError for Error {
386386
Error::FailedToInitializeSecurityContext { .. } => None,
387387
Error::CreateClusterResources { .. } => None,
388388
Error::FailedToResolveConfig { .. } => None,
389-
Error::VectorAggregatorConfigMapMissing { .. } => None,
389+
Error::VectorAggregatorConfigMapMissing => None,
390390
Error::InvalidLoggingConfig { .. } => None,
391391
Error::ApplyServiceAccount { .. } => None,
392392
Error::ApplyRoleBinding { .. } => None,

rust/operator-binary/src/main.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// TODO: Look into how to properly resolve `clippy::large_enum_variant`.
2+
// This will need changes in our and upstream error types.
3+
#![allow(clippy::result_large_err)]
4+
15
use std::sync::Arc;
26

37
use clap::Parser;

0 commit comments

Comments
 (0)