reid 2 anni fa
parent
commit
5a19196345
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 5 5
      main.go

+ 5 - 5
main.go

@@ -105,11 +105,11 @@ func main() {
 	}
 	logger.Info(pierList)
 	// block until returns or times out (debug)
-	select {
-	case <-versionUpdateChannel:
-	case <-time.After(time.Duration(5) * time.Second):
-	}
-
+	// select {
+	// case <-versionUpdateChannel:
+	// case <-time.After(time.Duration(5) * time.Second):
+	// }
+	<-versionUpdateChannel:
 	// Load Netdata
 	loadService(docker.LoadNetdata, "Unable to load Netdata!")
 	// Load Wireguard