From d790fa2385f4bd169109ea06120eee6d19f6495c Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Fri, 14 Apr 2023 06:50:46 -0600 Subject: [PATCH] Ensure the frigate config validators are also checked when saving config --- frigate/http.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frigate/http.py b/frigate/http.py index f59e341df..d3a059a73 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -759,6 +759,7 @@ def config_save(): # Validate the config schema try: new_yaml = FrigateConfig.parse_raw(new_config) + check_runtime = new_yaml.runtime_config except Exception as e: return make_response( jsonify(