Skip to content

Commit ae03189

Browse files
lovasoaeric-weaver
andauthored
Correct Unix socket path in conf.yaml.example (DataDog#22200)
* Correct Unix socket path in conf.yaml.example Update example configuration for Unix socket path. * ddev validate config postgres -s * changelog * no version bump * Fix postgres socket path wording --------- Co-authored-by: Eric Weaver <eweaver755@gmail.com>
1 parent 5f6e954 commit ae03189

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

postgres/assets/configuration/spec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ files:
1717
options:
1818
- name: host
1919
description: |
20-
The hostname to connect to. To connect to a Unix socket, specify the full path to the socket file,
21-
e.g. `/var/run/postgresql/.s.PGSQL.5432`.
20+
The hostname to connect to. To connect to a Unix socket, specify the full path to the socket directory,
21+
e.g. `/var/run/postgresql`.
2222
value:
2323
type: string
2424
display_default: "localhost"

postgres/changelog.d/22200.fixed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Correct postgres Unix socket path example in conf.yaml.example

postgres/datadog_checks/postgres/data/conf.yaml.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ instances:
3333

3434
-
3535
## @param host - string - optional - default: localhost
36-
## The hostname to connect to. To connect to a Unix socket, specify the full path to the socket file,
37-
## e.g. `/var/run/postgresql/.s.PGSQL.5432`.
36+
## The hostname to connect to. To connect to a Unix socket, specify the full path to the socket directory,
37+
## e.g. `/var/run/postgresql`.
3838
#
3939
# host: <HOST>
4040

0 commit comments

Comments
 (0)