mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
feat: allow editing org icon (#13547)
This commit is contained in:
committed by
GitHub
parent
58bf0ec1c6
commit
28228f1bcb
@ -2,12 +2,13 @@ package clock
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"fmt"
|
||||
"slices"
|
||||
"sync"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"golang.org/x/xerrors"
|
||||
)
|
||||
|
||||
// Mock is the testing implementation of Clock. It tracks a time that monotonically increases
|
||||
@ -571,7 +572,7 @@ func (t *Trap) Close() {
|
||||
close(t.done)
|
||||
}
|
||||
|
||||
var ErrTrapClosed = errors.New("trap closed")
|
||||
var ErrTrapClosed = xerrors.New("trap closed")
|
||||
|
||||
func (t *Trap) Wait(ctx context.Context) (*Call, error) {
|
||||
select {
|
||||
|
Reference in New Issue
Block a user