Strip the classic aslam comments
This commit is contained in:
parent
47bfdbe49e
commit
7183601d3b
@ -1,7 +1,6 @@
|
||||
package micro
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"os/signal"
|
||||
"syscall"
|
||||
@ -42,9 +41,7 @@ func (s *service) run(exit chan bool) {
|
||||
for {
|
||||
select {
|
||||
case <-t.C:
|
||||
fmt.Println("heartbeat")
|
||||
if err := s.opts.Server.Register(server.RegisterTTL(s.opts.RegisterTTL)); err != nil {
|
||||
fmt.Println("FUCK", err)
|
||||
}
|
||||
case <-exit:
|
||||
t.Stop()
|
||||
|
Loading…
x
Reference in New Issue
Block a user