diff --git a/reporter/main.go b/reporter/main.go index 71d8bca..96b4f1b 100644 --- a/reporter/main.go +++ b/reporter/main.go @@ -3,7 +3,6 @@ package main import ( "bytes" "flag" - "fmt" jsoniter "github.com/json-iterator/go" "log" "net" @@ -152,7 +151,7 @@ func sendHTTPRequest(_url url.URL, payload ReportData) { client := &http.Client{} resp, err := client.Do(req) if err != nil { - fmt.Println("Send request error:", err) + log.Println("Send request error:", err) return } @@ -162,7 +161,7 @@ func sendHTTPRequest(_url url.URL, payload ReportData) { body := new(bytes.Buffer) _, err = body.ReadFrom(resp.Body) if err != nil { - fmt.Println("Read response error:", err) + log.Println("Read response error:", err) return } diff --git a/src/client/pages/Servers.tsx b/src/client/pages/Servers.tsx index 38a90c8..1aad21d 100644 --- a/src/client/pages/Servers.tsx +++ b/src/client/pages/Servers.tsx @@ -211,7 +211,7 @@ export const ServerList: React.FC<{ dataSource={dataSource} pagination={false} locale={{ emptyText: }} - rowClassName={(record) => clsx(!isServerOnline(record) && 'opacity-80')} + rowClassName={(record) => clsx(!isServerOnline(record) && 'opacity-60')} /> );