Remove unused debug setting (#2339)

This commit is contained in:
Arnaud Gourlay authored and generall committed 2023-09-04 16:42:41 +02:00
1 parent daaacabd39
commit b0cd0b62d5
4 files changed
-10

No files matched your search

-1
View File
@@ -1,4 +1,3 @@
debug: false
log_level: INFO
storage:
-1
View File
@@ -1,4 +1,3 @@
debug: true
log_level: DEBUG
service:
-2
View File
@@ -1,5 +1,3 @@
debug: false
log_level: INFO
service:
-6
View File
@@ -114,8 +114,6 @@ pub struct TlsConfig {
#[derive(Debug, Deserialize, Clone, Validate)]
pub struct Settings {
#[serde(default = "default_debug")]
pub debug: bool,
#[serde(default = "default_log_level")]
pub log_level: String,
#[validate]
@@ -184,10 +182,6 @@ const fn default_cors() -> bool {
true
}
const fn default_debug() -> bool {
false
}
fn default_log_level() -> String {
"INFO".to_string()
}