mirror of
https://github.com/JustKato/drive-health.git
synced 2026-03-19 15:09:46 +02:00
Removed junk
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
package web
|
package web
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
@@ -21,8 +20,7 @@ func setupApi(r *gin.Engine) {
|
|||||||
|
|
||||||
if ctx.Request.URL.Query().Get("temp") != "" {
|
if ctx.Request.URL.Query().Get("temp") != "" {
|
||||||
for _, d := range disks {
|
for _, d := range disks {
|
||||||
temp := d.GetTemperature(true)
|
d.GetTemperature(true)
|
||||||
fmt.Printf("Disk Temp: %v", temp)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user