Skip to content

Commit

Permalink
Default
Browse files Browse the repository at this point in the history
  • Loading branch information
sethsamuel committed Jul 16, 2024
1 parent ec2b6e0 commit d347609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres/datadog_checks/postgres/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class PostgresConfig:
GAUGE = AgentCheck.gauge
MONOTONIC = AgentCheck.monotonic_count

def __init__(self, instance, init_config, check):
def __init__(self, instance, init_config, check={'warning': print}):
self.host = instance.get('host', '')
if not self.host:
raise ConfigurationError('Specify a Postgres host to connect to.')
Expand Down

0 comments on commit d347609

Please sign in to comment.