refactor: go-ping is deprecated

This commit is contained in:
imlonghao
2025-08-02 18:00:34 +08:00
parent 90ac902d30
commit 881945b4b2
3 changed files with 13 additions and 18 deletions

View File

@@ -13,9 +13,9 @@ import (
"strings"
"time"
ping "github.com/go-ping/ping"
"github.com/komari-monitor/komari-agent/cmd/flags"
"github.com/komari-monitor/komari-agent/ws"
ping "github.com/prometheus-community/pro-bing"
)
func NewTask(task_id, command string) {