Skip to content

Commit

Permalink
Fix: Pydantic is more strick about validation rules
Browse files Browse the repository at this point in the history
Pydantic's validation system now enforces strict checks, we cannot
leave fields marked as required empty
  • Loading branch information
Antonyjin committed Nov 19, 2024
1 parent b88f13a commit 52e94ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aleph/vm/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 52e94ee

Please sign in to comment.