Use new gofumpt (#21613)

Update tinylib. Should fix CI.

`gofumpt -w .&&go generate ./...`
This commit is contained in:
Klaus Post
2025-09-28 22:59:21 +02:00
committed by GitHub
parent 456d9462e5
commit b8631cf531
171 changed files with 881 additions and 899 deletions

View File

@@ -178,7 +178,7 @@ func (h *Target) initQueueStore(ctx context.Context) (err error) {
h.store = queueStore
h.storeCtxCancel = cancel
store.StreamItems(h.store, h, ctx.Done(), h.kconfig.LogOnce)
return
return err
}
func (h *Target) startKafkaLogger() {
@@ -355,7 +355,7 @@ func (h *Target) SendFromStore(key store.Key) (err error) {
err = h.send(auditEntry)
if err != nil {
atomic.AddInt64(&h.failedMessages, 1)
return
return err
}
// Delete the event from store.
return h.store.Del(key)