Merge pull request #1005 from milosgajdos83/nano-seconds
Time resolution change to be in line with debug/handler.Handler
This commit is contained in:
commit
e48cce6485
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user