mirror of
https://github.com/telemt/telemt.git
synced 2026-10-10 11:25:57 +03:00
Rustfmt
This commit is contained in:
@@ -406,8 +406,7 @@ pub(crate) fn resolve_reload_config(
|
||||
fields.push("logging".to_string());
|
||||
effective.logging = old.logging.clone();
|
||||
}
|
||||
if serde_json::to_value(&old.web.limits).ok()
|
||||
!= serde_json::to_value(&desired.web.limits).ok()
|
||||
if serde_json::to_value(&old.web.limits).ok() != serde_json::to_value(&desired.web.limits).ok()
|
||||
{
|
||||
fields.push("web.limits".to_string());
|
||||
effective.web.limits = old.web.limits.clone();
|
||||
|
||||
Reference in New Issue
Block a user