Skip to content

Commit

Permalink
Fix bits_enabled, bits_disabled setting syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
praseodym committed Sep 5, 2023
1 parent 9187c2c commit f52b6fd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions octopoes/octopoes/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,8 @@ class Settings(BaseSettings):
scan_level_recalculation_interval: int = Field(
60, description="Interval in seconds of the periodic task that recalculates scan levels"
)
bits_enabled: Set[str] = Field(set(), example="{'port-classification-bit'}", description="Explicitly enabled bits")
bits_disabled: Set[str] = Field(
set(), example="{'port-classification-bit'}", description="Explicitly disabled bits"
)
bits_enabled: Set[str] = Field(set(), example='["port-common"]', description="Explicitly enabled bits")
bits_disabled: Set[str] = Field(set(), example='["port-classification-ip"]', description="Explicitly disabled bits")

span_export_grpc_endpoint: Optional[AnyHttpUrl] = Field(
None, description="OpenTelemetry endpoint", env="SPAN_EXPORT_GRPC_ENDPOINT"
Expand Down

0 comments on commit f52b6fd

Please sign in to comment.