Skip to content

Commit fdad745

Browse files
committed
rephrase
1 parent 68ed60f commit fdad745

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,8 +1024,8 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.
10241024
notificationsManager.Run(dbauthz.AsSystemRestricted(ctx))
10251025

10261026
// Run report generator to distribute periodic reports.
1027-
reportGenerator := reports.NewReportGenerator(ctx, logger, options.Database, options.NotificationsEnqueuer, quartz.NewReal())
1028-
defer reportGenerator.Close()
1027+
notificationReportGenerator := reports.NewReportGenerator(ctx, logger, options.Database, options.NotificationsEnqueuer, quartz.NewReal())
1028+
defer notificationReportGenerator.Close()
10291029
}
10301030

10311031
// Wrap the server in middleware that redirects to the access URL if

0 commit comments

Comments
 (0)