Skip to content

Commit

Permalink
Run ddev validate models -s on ibm_i (#10117)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5622a25)
  • Loading branch information
mx-psi committed Oct 12, 2021
1 parent df79cef commit d216e3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ibm_i/datadog_checks/ibm_i/config_models/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ def instance_connection_string(field, value):
return get_default_field_value(field, value)


def instance_disable_generic_tags(field, value):
return False


def instance_driver(field, value):
return 'iSeries Access ODBC Driver'

Expand Down
1 change: 1 addition & 0 deletions ibm_i/datadog_checks/ibm_i/config_models/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class Config:
allow_mutation = False

connection_string: Optional[str]
disable_generic_tags: Optional[bool]
driver: Optional[str]
empty_default_hostname: Optional[bool]
job_query_timeout: Optional[int] = Field(None, gt=0.0)
Expand Down

0 comments on commit d216e3f

Please sign in to comment.