mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-17 06:00:15 +02:00
chore: use gofumpt for code formatting
This commit is contained in:
@@ -12,7 +12,8 @@ func ptrTo[T any](value T) *T { return &value }
|
||||
|
||||
// waitForError waits 100ms for an error in the waitError channel.
|
||||
func (l *Loop) waitForError(ctx context.Context,
|
||||
waitError chan error) (err error) {
|
||||
waitError chan error,
|
||||
) (err error) {
|
||||
const waitDurationForError = 100 * time.Millisecond
|
||||
timer := time.NewTimer(waitDurationForError)
|
||||
select {
|
||||
|
||||
Reference in New Issue
Block a user