Patch spec template annotations and use event timestmap

This commit is contained in:
Asim Aslam
2019-11-26 17:33:41 +00:00
parent deabf0b8c9
commit 6475c1f3ad
4 changed files with 57 additions and 39 deletions

View File

@@ -3,6 +3,7 @@ package runtime
import (
"io"
"sync"
"time"
"github.com/micro/go-micro/runtime/build"
@@ -17,6 +18,7 @@ type service struct {
running bool
closed chan bool
err error
updated time.Time
// output for logs
output io.Writer
@@ -64,8 +66,9 @@ func newService(s *Service, c CreateOptions) *service {
Env: c.Env,
Args: args,
},
closed: make(chan bool),
output: c.Output,
closed: make(chan bool),
output: c.Output,
updated: time.Now(),
}
}