mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-08-01 09:58:42 -04:00
fix: remove debug prints
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user