Require name for custom adapters. Fixes #2098

This commit is contained in:
grossmj committed 2022-08-28 17:33:33 +02:00
1 parent b58a54ae7c
commit d996a87246
1 file changed
+1 -1
+1 -1
View File
@@ -43,7 +43,7 @@ class CustomAdapter(BaseModel):
"""
adapter_number: int
port_name: Optional[str] = None
port_name: str
adapter_type: Optional[str] = None
mac_address: Optional[str] = Field(None, regex="^([0-9a-fA-F]{2}[:]){5}([0-9a-fA-F]{2})$")