Skip to content

Commit b18730f

Browse files
fix: minor fix in template
1 parent c19f28a commit b18730f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

coderd/database/migrations/000328_prebuild_failure_limit_notification.up.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ $$,
1010
'[
1111
{
1212
"label": "View failed workspaces",
13-
"url": "{{base_url}}/workspaces?filter=owner:prebuilds+status:failed+template:{{.Labels.template}}&page=1"
13+
"url": "{{base_url}}/workspaces?filter=owner:prebuilds+status:failed+template:{{.Labels.template}}"
1414
},
1515
{
1616
"label": "View template version",

coderd/notifications/testdata/rendered-templates/smtp/PrebuildFailureLimitReached.html.golden

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ er and preset particle-accelerator.
1717

1818

1919
View failed workspaces: http://test.com/workspaces?filter=3Downer:prebuilds=
20-
+status:failed+template:docker&page=3D1
20+
+status:failed+template:docker
2121

2222
View template version: http://test.com/templates/cern/docker/versions/angry=
2323
_torvalds
@@ -59,9 +59,9 @@ ong>.</p>
5959
<div style=3D"text-align: center; margin-top: 32px;">
6060
=20
6161
<a href=3D"http://test.com/workspaces?filter=3Downer:prebuilds+stat=
62-
us:failed+template:docker&page=3D1" style=3D"display: inline-block; padding=
63-
: 13px 24px; background-color: #020617; color: #f8fafc; text-decoration: no=
64-
ne; border-radius: 8px; margin: 0 4px;">
62+
us:failed+template:docker" style=3D"display: inline-block; padding: 13px 24=
63+
px; background-color: #020617; color: #f8fafc; text-decoration: none; borde=
64+
r-radius: 8px; margin: 0 4px;">
6565
View failed workspaces
6666
</a>
6767
=20

coderd/notifications/testdata/rendered-templates/webhook/PrebuildFailureLimitReached.json.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"actions": [
1313
{
1414
"label": "View failed workspaces",
15-
"url": "http://test.com/workspaces?filter=owner:prebuilds+status:failed+template:docker\u0026page=1"
15+
"url": "http://test.com/workspaces?filter=owner:prebuilds+status:failed+template:docker"
1616
},
1717
{
1818
"label": "View template version",

0 commit comments

Comments
 (0)