Skip to content

Commit 8a33ac8

Browse files
refactor: CR's fixes
1 parent 50bd9b4 commit 8a33ac8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
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
@@ -11,7 +11,7 @@ $$,
1111
'Template Events',
1212
'[
1313
{
14-
"label": "View failed workspaces",
14+
"label": "View failed prebuilt workspaces",
1515
"url": "{{base_url}}/workspaces?filter=owner:prebuilds+status:failed+template:{{.Labels.template}}"
1616
},
1717
{

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ To resume prebuilds, fix the underlying issue and upload a new template ver=
1919
sion.
2020

2121

22-
View failed workspaces: http://test.com/workspaces?filter=3Downer:prebuilds=
23-
+status:failed+template:docker
22+
View failed prebuilt workspaces: http://test.com/workspaces?filter=3Downer:=
23+
prebuilds+status:failed+template:docker
2424

2525
View template version: http://test.com/templates/cern/docker/versions/angry=
2626
_torvalds
@@ -67,7 +67,7 @@ version.</p>
6767
us:failed+template:docker" style=3D"display: inline-block; padding: 13px 24=
6868
px; background-color: #020617; color: #f8fafc; text-decoration: none; borde=
6969
r-radius: 8px; margin: 0 4px;">
70-
View failed workspaces
70+
View failed prebuilt workspaces
7171
</a>
7272
=20
7373
<a href=3D"http://test.com/templates/cern/docker/versions/angry_tor=

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"user_username": "bobby",
1212
"actions": [
1313
{
14-
"label": "View failed workspaces",
14+
"label": "View failed prebuilt workspaces",
1515
"url": "http://test.com/workspaces?filter=owner:prebuilds+status:failed+template:docker"
1616
},
1717
{

0 commit comments

Comments
 (0)