Skip to content

Commit b817c86

Browse files
authored
fix: webhook endpoint YAML attribute (coder#13983)
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent 0a07c7e commit b817c86

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cli/testdata/server-config.yaml.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ notifications:
552552
webhook:
553553
# The endpoint to which to send webhooks.
554554
# (default: <unset>, type: url)
555-
hello:
555+
endpoint:
556556
# The upper limit of attempts to send a notification.
557557
# (default: 5, type: int)
558558
maxSendAttempts: 5

codersdk/deployment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2300,7 +2300,7 @@ Write out the current server config as YAML to stdout.`,
23002300
Env: "CODER_NOTIFICATIONS_WEBHOOK_ENDPOINT",
23012301
Value: &c.Notifications.Webhook.Endpoint,
23022302
Group: &deploymentGroupNotificationsWebhook,
2303-
YAML: "hello",
2303+
YAML: "endpoint",
23042304
},
23052305
{
23062306
Name: "Notifications: Max Send Attempts",

docs/cli/server.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)