From 52e94ee5b19e4ad82aa4fe335630452a69da87a2 Mon Sep 17 00:00:00 2001 From: Antonyjin Date: Tue, 19 Nov 2024 04:41:58 +0000 Subject: [PATCH] Fix: Pydantic is more strick about validation rules Pydantic's validation system now enforces strict checks, we cannot leave fields marked as required empty --- src/aleph/vm/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aleph/vm/conf.py b/src/aleph/vm/conf.py index 7c69f344..8bc34774 100644 --- a/src/aleph/vm/conf.py +++ b/src/aleph/vm/conf.py @@ -176,8 +176,8 @@ class Settings(BaseSettings): description="Method used to resolve the dns server if DNS_NAMESERVERS is not present.", ) DNS_NAMESERVERS: list[str] | None = None - DNS_NAMESERVERS_IPV4: list[str] | None - DNS_NAMESERVERS_IPV6: list[str] | None + DNS_NAMESERVERS_IPV4: list[str] | None = None + DNS_NAMESERVERS_IPV6: list[str] | None = None FIRECRACKER_PATH: Path = Path("/opt/firecracker/firecracker") JAILER_PATH: Path = Path("/opt/firecracker/jailer")