chore: replace unmaintained ping library (#15808)

Relates to
https://github.com/coder/coder/pull/15712#issuecomment-2527841239.

We only use a ping library to determine the closest devtunnel node, so
is a very minor change.
This commit is contained in:
Ethan
2024-12-10 14:51:46 +11:00
committed by GitHub
parent 1bac277156
commit 49c453b42e
3 changed files with 4 additions and 7 deletions

View File

@ -5,7 +5,7 @@ import (
"sync"
"time"
"github.com/go-ping/ping"
ping "github.com/prometheus-community/pro-bing"
"golang.org/x/exp/slices"
"golang.org/x/sync/errgroup"
"golang.org/x/xerrors"