Common: Use lower-case member name for PortStatus values

This commit is contained in:
Mike Salvatore 2022-09-29 13:49:50 -04:00
parent 28026716db
commit 208ba1c2ab
1 changed files with 3 additions and 3 deletions

View File

@ -41,11 +41,11 @@ class PortStatus(Enum):
An Enum representing the status of the port.
This Enum represents the status of a network pork. The value of each
member is distincive and unique number.
member is the member's name in all lower-case characters.
"""
OPEN = 1
CLOSED = 2
OPEN = "open"
CLOSED = "closed"
class SocketAddress(InfectionMonkeyBaseModel):