Skip to content

Commit 1c001c8

Browse files
author
Devdutt Shenoi
authored
chore: remove unused code (#1134)
1 parent 5a39e22 commit 1c001c8

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

src/cli.rs

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,6 @@ use crate::{
2727
storage::{AzureBlobConfig, FSConfig, S3Config},
2828
};
2929

30-
#[cfg(any(
31-
all(target_os = "linux", target_arch = "x86_64"),
32-
all(target_os = "macos", target_arch = "aarch64")
33-
))]
34-
use crate::kafka::SslProtocol as KafkaSslProtocol;
35-
36-
#[cfg(not(any(
37-
all(target_os = "linux", target_arch = "x86_64"),
38-
all(target_os = "macos", target_arch = "aarch64")
39-
)))]
40-
use std::string::String as KafkaSslProtocol;
41-
4230
/// Default username and password for Parseable server, used by default for local mode.
4331
/// NOTE: obviously not recommended for production
4432
pub const DEFAULT_USERNAME: &str = "admin";
@@ -336,7 +324,7 @@ pub struct Options {
336324
value_parser = validation::kafka_security_protocol,
337325
help = "Kafka security protocol"
338326
)]
339-
pub kafka_security_protocol: Option<KafkaSslProtocol>,
327+
pub kafka_security_protocol: Option<crate::kafka::SslProtocol>,
340328

341329
#[cfg(any(
342330
all(target_os = "linux", target_arch = "x86_64"),

0 commit comments

Comments
 (0)