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
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()