Strip the classic aslam comments

This commit is contained in:
Asim 2016-01-27 00:26:29 +00:00
parent 47bfdbe49e
commit 7183601d3b

View File

@ -1,7 +1,6 @@
package micro package micro
import ( import (
"fmt"
"os" "os"
"os/signal" "os/signal"
"syscall" "syscall"
@ -42,9 +41,7 @@ func (s *service) run(exit chan bool) {
for { for {
select { select {
case <-t.C: case <-t.C:
fmt.Println("heartbeat")
if err := s.opts.Server.Register(server.RegisterTTL(s.opts.RegisterTTL)); err != nil { if err := s.opts.Server.Register(server.RegisterTTL(s.opts.RegisterTTL)); err != nil {
fmt.Println("FUCK", err)
} }
case <-exit: case <-exit:
t.Stop() t.Stop()