Skip to content

Commit 387b557

Browse files
Apply suggestions from code review
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
1 parent cee93cb commit 387b557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/notifications/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func NewManager(cfg codersdk.NotificationsConfig, store Store, metrics *Metrics,
6363
// TODO(dannyk): add the ability to use multiple notification methods.
6464
var method database.NotificationMethod
6565
if err := method.Scan(cfg.Method.String()); err != nil {
66-
return nil, xerrors.Errorf("given notification method %q is invalid", cfg.Method)
66+
return nil, xerrors.Errorf("notification method %q is invalid", cfg.Method)
6767
}
6868

6969
// If dispatch timeout exceeds lease period, it is possible that messages can be delivered in duplicate because the

0 commit comments

Comments
 (0)