Skip to content

Commit 1ceb504

Browse files
committed
chore: Allow and fix Clippy lints
1 parent e5251ce commit 1ceb504

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

rust/operator-binary/src/crd/security.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -498,10 +498,10 @@ fn import_system_truststore(destination_directory: &str) -> String {
498498
/// into a new truststore with password in a writeable empty dir
499499
///
500500
/// # Arguments
501-
/// - `source_directory` - The directory of the source truststore.
502-
/// Should usually be a secret operator volume mount.
503-
/// - `destination_directory` - The directory of the destination truststore.
504-
/// Should usually be an empty dir.
501+
/// - `source_directory`: The directory of the source truststore. Should usually be a secret
502+
/// operator volume mount.
503+
/// - `destination_directory`: The directory of the destination truststore. Should usually be an
504+
/// empty dir.
505505
fn import_truststore(source_directory: &str, destination_directory: &str) -> String {
506506
let source_truststore_path = format!("{source_directory}/truststore.p12");
507507
let dest_truststore_path = format!("{destination_directory}/truststore.p12");

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)