mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-25 19:31:05 +00:00
Fix panic on logger (#2745)
This commit is contained in:
parent
3524301335
commit
45a5a2dde5
2 changed files with 4 additions and 3 deletions
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
## [1.0.4](https://github.com/woodpecker-ci/woodpecker/releases/tag/v1.0.4) - 2023-11-05
|
## [1.0.4](https://github.com/woodpecker-ci/woodpecker/releases/tag/v1.0.4) - 2023-11-05
|
||||||
|
|
||||||
* BUGFIXES
|
- BUGFIXES
|
||||||
* Fix secret image filter regex (#2674) (#2686)
|
- Fix secret image filter regex (#2674) (#2686)
|
||||||
* Fix error when closing logs (#2637) (#2640)
|
- Fix error when closing logs (#2637) (#2640)
|
||||||
|
|
||||||
## [1.0.3](https://github.com/woodpecker-ci/woodpecker/releases/tag/v1.0.3) - 2023-10-14
|
## [1.0.3](https://github.com/woodpecker-ci/woodpecker/releases/tag/v1.0.3) - 2023-10-14
|
||||||
|
|
||||||
|
|
|
@ -86,6 +86,7 @@ func (l *log) Write(ctx context.Context, stepID int64, logEntry *model.LogEntry)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
s = l.streams[stepID]
|
||||||
}
|
}
|
||||||
|
|
||||||
s.Lock()
|
s.Lock()
|
||||||
|
|
Loading…
Reference in a new issue