Skip to content

Commit c6901c4

Browse files
committed
chore: switch to github.com/coder/websocket
1 parent 21942af commit c6901c4

32 files changed

+36
-33
lines changed

coderd/healthcheck/websocket.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"strconv"
1010
"time"
1111

12+
"github.com/coder/websocket"
1213
"golang.org/x/xerrors"
13-
"nhooyr.io/websocket"
1414

1515
"github.com/coder/coder/v2/coderd/healthcheck/health"
1616
"github.com/coder/coder/v2/codersdk/healthsdk"

coderd/httpapi/websocket.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"time"
66

7-
"nhooyr.io/websocket"
7+
"github.com/coder/websocket"
88

99
"cdr.dev/slog"
1010
)

coderd/provisionerjobs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import (
1010
"sort"
1111
"strconv"
1212

13+
"github.com/coder/websocket"
1314
"github.com/google/uuid"
1415
"golang.org/x/xerrors"
15-
"nhooyr.io/websocket"
1616

1717
"cdr.dev/slog"
1818

coderd/provisionerjobs_internal_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import (
1010
"testing"
1111
"time"
1212

13+
"github.com/coder/websocket"
1314
"github.com/google/uuid"
1415
"github.com/stretchr/testify/assert"
1516
"github.com/stretchr/testify/require"
1617
"go.uber.org/mock/gomock"
17-
"nhooyr.io/websocket"
1818

1919
"cdr.dev/slog/sloggers/slogtest"
2020

coderd/workspaceagents.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ import (
1414
"strings"
1515
"time"
1616

17+
"github.com/coder/websocket"
1718
"github.com/google/uuid"
1819
"github.com/sqlc-dev/pqtype"
1920
"golang.org/x/exp/maps"
2021
"golang.org/x/exp/slices"
2122
"golang.org/x/sync/errgroup"
2223
"golang.org/x/xerrors"
23-
"nhooyr.io/websocket"
2424
"tailscale.com/tailcfg"
2525

2626
"cdr.dev/slog"

coderd/workspaceagentsrpc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import (
1111
"sync/atomic"
1212
"time"
1313

14+
"github.com/coder/websocket"
1415
"github.com/google/uuid"
1516
"github.com/hashicorp/yamux"
1617
"golang.org/x/xerrors"
17-
"nhooyr.io/websocket"
1818

1919
"cdr.dev/slog"
2020
"github.com/coder/coder/v2/agent/proto"

coderd/workspaceagentsrpc_internal_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import (
1010

1111
"github.com/coder/coder/v2/coderd/util/ptr"
1212

13+
"github.com/coder/websocket"
1314
"github.com/google/uuid"
1415
"github.com/stretchr/testify/require"
1516
"go.uber.org/mock/gomock"
16-
"nhooyr.io/websocket"
1717

1818
"cdr.dev/slog"
1919
"cdr.dev/slog/sloggers/slogtest"

coderd/workspaceapps/proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import (
1212
"strings"
1313
"sync"
1414

15+
"github.com/coder/websocket"
1516
"github.com/go-chi/chi/v5"
1617
"github.com/google/uuid"
1718
"go.opentelemetry.io/otel/trace"
18-
"nhooyr.io/websocket"
1919

2020
"cdr.dev/slog"
2121
"github.com/coder/coder/v2/agent/agentssh"

codersdk/agentsdk/agentsdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import (
1212
"time"
1313

1414
"cloud.google.com/go/compute/metadata"
15+
"github.com/coder/websocket"
1516
"github.com/google/uuid"
1617
"github.com/hashicorp/yamux"
1718
"golang.org/x/xerrors"
18-
"nhooyr.io/websocket"
1919
"storj.io/drpc"
2020
"tailscale.com/tailcfg"
2121

codersdk/provisionerdaemons.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99
"net/http/cookiejar"
1010
"time"
1111

12+
"github.com/coder/websocket"
1213
"github.com/google/uuid"
1314
"github.com/hashicorp/yamux"
1415
"golang.org/x/xerrors"
15-
"nhooyr.io/websocket"
1616

1717
"github.com/coder/coder/v2/buildinfo"
1818
"github.com/coder/coder/v2/codersdk/drpc"

0 commit comments

Comments
 (0)