Skip to content

Commit ebad2a7

Browse files
chore: remove unnecessary force_fallback feature
1 parent 136105d commit ebad2a7

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

bottlecap/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,3 @@ fips = [
9191
"rustls/fips",
9292
"rustls-native-certs",
9393
]
94-
force_fallback = []

bottlecap/src/config/mod.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,6 @@ fn log_fallback_reason(reason: &str) {
3434
println!("{{\"DD_EXTENSION_FALLBACK_REASON\":\"{reason}\"}}");
3535
}
3636

37-
#[cfg(feature = "force_fallback")]
38-
fn fallback(_: &EnvConfig, _: &YamlConfig) -> Result<(), ConfigError> {
39-
log_fallback_reason("force_fallback");
40-
Err(ConfigError::UnsupportedField("force_fallback".to_string()))
41-
}
42-
43-
#[cfg(not(feature = "force_fallback"))]
4437
fn fallback(config: &EnvConfig, yaml_config: &YamlConfig) -> Result<(), ConfigError> {
4538
// Customer explicitly opted out of the Next Gen extension
4639
let opted_out = match config.extension_version.as_deref() {

0 commit comments

Comments
 (0)