fix: remove debug prints

This commit is contained in:
Maxi Quoß
2025-03-06 22:01:43 +01:00
parent 697e9fe07f
commit ebe28b45c0

View File

@@ -91,7 +91,6 @@ func WakeDevice(device *core.Record) error {
start := time.Now()
for {
time.Sleep(1 * time.Second)
fmt.Println("here")
isOnline, err := PingDevice(device)
if err != nil {
logger.Error.Println(err)
@@ -101,7 +100,6 @@ func WakeDevice(device *core.Record) error {
return nil
}
if time.Since(start) >= time.Duration(wakeTimeout)*time.Second {
fmt.Println("over")
break
}
}