Skip to content

Commit 1bbbae8

Browse files
chore: migrate to github.com/coder/clistat (#17107)
Migrate from in-tree `clistat` package to https://github.com/coder/clistat.
1 parent 811097e commit 1bbbae8

File tree

13 files changed

+17
-1203
lines changed

13 files changed

+17
-1203
lines changed

agent/agent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ import (
3636
"tailscale.com/util/clientmetric"
3737

3838
"cdr.dev/slog"
39+
"github.com/coder/clistat"
3940
"github.com/coder/coder/v2/agent/agentcontainers"
4041
"github.com/coder/coder/v2/agent/agentexec"
4142
"github.com/coder/coder/v2/agent/agentscripts"
@@ -44,7 +45,6 @@ import (
4445
"github.com/coder/coder/v2/agent/proto/resourcesmonitor"
4546
"github.com/coder/coder/v2/agent/reconnectingpty"
4647
"github.com/coder/coder/v2/buildinfo"
47-
"github.com/coder/coder/v2/cli/clistat"
4848
"github.com/coder/coder/v2/cli/gitauth"
4949
"github.com/coder/coder/v2/coderd/database/dbtime"
5050
"github.com/coder/coder/v2/codersdk"

agent/proto/resourcesmonitor/fetcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package resourcesmonitor
33
import (
44
"golang.org/x/xerrors"
55

6-
"github.com/coder/coder/v2/cli/clistat"
6+
"github.com/coder/clistat"
77
)
88

99
type Statter interface {

agent/proto/resourcesmonitor/fetcher_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"github.com/stretchr/testify/require"
77
"golang.org/x/xerrors"
88

9+
"github.com/coder/clistat"
910
"github.com/coder/coder/v2/agent/proto/resourcesmonitor"
10-
"github.com/coder/coder/v2/cli/clistat"
1111
"github.com/coder/coder/v2/coderd/util/ptr"
1212
)
1313

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy