diff --git a/CHANGELOG.md b/CHANGELOG.md index 21ef9e2d9..e932cfca3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,9 @@ ## [1.0.4](https://github.com/woodpecker-ci/woodpecker/releases/tag/v1.0.4) - 2023-11-05 -* BUGFIXES - * Fix secret image filter regex (#2674) (#2686) - * Fix error when closing logs (#2637) (#2640) +- BUGFIXES + - Fix secret image filter regex (#2674) (#2686) + - Fix error when closing logs (#2637) (#2640) ## [1.0.3](https://github.com/woodpecker-ci/woodpecker/releases/tag/v1.0.3) - 2023-10-14 diff --git a/server/logging/log.go b/server/logging/log.go index 1fc956ab9..d84de7383 100644 --- a/server/logging/log.go +++ b/server/logging/log.go @@ -86,6 +86,7 @@ func (l *log) Write(ctx context.Context, stepID int64, logEntry *model.LogEntry) if err != nil { return err } + s = l.streams[stepID] } s.Lock()