Skip to content

Commit 2006c8c

Browse files
committed
fixup! fix(support): correctly rename existing agent connection info, add real netcheck
1 parent 3035d2c commit 2006c8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

support/support.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func DeploymentInfo(ctx context.Context, client *codersdk.Client, log slog.Logge
147147
return d
148148
}
149149

150-
func NetworkInfo(ctx context.Context, client *codersdk.Client, log slog.Logger, agentID uuid.UUID) Network {
150+
func NetworkInfo(ctx context.Context, client *codersdk.Client, log slog.Logger) Network {
151151
var (
152152
n Network
153153
eg errgroup.Group
@@ -496,7 +496,7 @@ func Run(ctx context.Context, d *Deps) (*Bundle, error) {
496496
return nil
497497
})
498498
eg.Go(func() error {
499-
ni := NetworkInfo(ctx, d.Client, d.Log, d.AgentID)
499+
ni := NetworkInfo(ctx, d.Client, d.Log)
500500
b.Network = ni
501501
return nil
502502
})

0 commit comments

Comments
 (0)