Skip to content

Commit 42cc3f5

Browse files
committed
chore: make lint
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
1 parent 5117a5e commit 42cc3f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

enterprise/coderd/prebuilds/reconcile_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -411,15 +411,15 @@ func TestPrebuildReconciliation(t *testing.T) {
411411
}
412412
}
413413

414-
// brokenPublisher is used to validate that Publish() calls which always fail do not affect the reconciler's behaviour,
414+
// brokenPublisher is used to validate that Publish() calls which always fail do not affect the reconciler's behavior,
415415
// since the messages published are not essential but merely advisory.
416416
type brokenPublisher struct {
417417
pubsub.Pubsub
418418
}
419419

420-
func (b *brokenPublisher) Publish(event string, _ []byte) error {
420+
func (*brokenPublisher) Publish(event string, _ []byte) error {
421421
// I'm explicitly _not_ checking for EventJobPosted (coderd/database/provisionerjobs/provisionerjobs.go) since that
422-
// required too much knowledge of the underlying implementation.
422+
// requires too much knowledge of the underlying implementation.
423423
return xerrors.Errorf("refusing to publish %q", event)
424424
}
425425

0 commit comments

Comments
 (0)