Skip to content

Commit 1a941f8

Browse files
committed
fix
1 parent fcd6d61 commit 1a941f8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

coderd/autobuild/lifecycle_executor.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,7 @@ func (e *Executor) runOnce(t time.Time) Stats {
303303
"reason": nextBuildReason,
304304
"template_version_name": activeTemplateVersion.Name,
305305
"template_version_message": activeTemplateVersion.Message,
306-
},
307-
"autobuild",
306+
}, "autobuild",
308307
// Associate this notification with all the related entities.
309308
ws.ID, ws.OwnerID, ws.TemplateID, ws.OrganizationID,
310309
); err != nil {

coderd/notifications/notifications_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ import (
5151
)
5252

5353
// updateGoldenFiles is a flag that can be set to update golden files.
54-
var updateGoldenFiles = flag.Bool("update", true, "Update golden files")
54+
var updateGoldenFiles = flag.Bool("update", false, "Update golden files")
5555

5656
func TestMain(m *testing.M) {
5757
goleak.VerifyTestMain(m)

0 commit comments

Comments
 (0)