Skip to content

Commit 1691768

Browse files
authored
chore: use store enqueuer with external provisioners (coder#13881)
1 parent de2585b commit 1691768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

enterprise/coderd/provisionerdaemons.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ import (
2020
"storj.io/drpc/drpcserver"
2121

2222
"cdr.dev/slog"
23+
2324
"github.com/coder/coder/v2/coderd"
2425
"github.com/coder/coder/v2/coderd/database"
2526
"github.com/coder/coder/v2/coderd/database/db2sdk"
2627
"github.com/coder/coder/v2/coderd/database/dbauthz"
2728
"github.com/coder/coder/v2/coderd/database/dbtime"
2829
"github.com/coder/coder/v2/coderd/httpapi"
2930
"github.com/coder/coder/v2/coderd/httpmw"
30-
"github.com/coder/coder/v2/coderd/notifications"
3131
"github.com/coder/coder/v2/coderd/provisionerdserver"
3232
"github.com/coder/coder/v2/coderd/rbac"
3333
"github.com/coder/coder/v2/coderd/rbac/policy"
@@ -337,7 +337,7 @@ func (api *API) provisionerDaemonServe(rw http.ResponseWriter, r *http.Request)
337337
ExternalAuthConfigs: api.ExternalAuthConfigs,
338338
OIDCConfig: api.OIDCConfig,
339339
},
340-
notifications.NewNoopEnqueuer(),
340+
api.NotificationsEnqueuer,
341341
)
342342
if err != nil {
343343
if !xerrors.Is(err, context.Canceled) {

0 commit comments

Comments
 (0)