1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00

Merge pull request #1005 from milosgajdos83/nano-seconds

Time resolution change to be in line with debug/handler.Handler
This commit is contained in:
Milos Gajdos 2019-12-01 18:39:59 +00:00 committed by GitHub
commit e48cce6485
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ func (d *Debug) Logs(opts ...log.ReadOption) (<-chan log.Record, error) {
req := &pb.LogRequest{}
if !options.Since.IsZero() {
req.Since = options.Since.UnixNano()
req.Since = options.Since.Unix()
}
if options.Count > 0 {