We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent5117a5e commit42cc3f5Copy full SHA for 42cc3f5
enterprise/coderd/prebuilds/reconcile_test.go
@@ -411,15 +411,15 @@ func TestPrebuildReconciliation(t *testing.T) {
411
}
412
413
414
-// brokenPublisher is used to validate that Publish() calls which always fail do not affect the reconciler'sbehaviour,
+// brokenPublisher is used to validate that Publish() calls which always fail do not affect the reconciler'sbehavior,
415
// since the messages published are not essential but merely advisory.
416
typebrokenPublisherstruct {
417
pubsub.Pubsub
418
419
420
-func (b*brokenPublisher)Publish(eventstring,_ []byte)error {
+func (*brokenPublisher)Publish(eventstring,_ []byte)error {
421
// I'm explicitly _not_ checking for EventJobPosted (coderd/database/provisionerjobs/provisionerjobs.go) since that
422
-//required too much knowledge of the underlying implementation.
+//requires too much knowledge of the underlying implementation.
423
returnxerrors.Errorf("refusing to publish %q",event)
424
425