Time resolution change to be in line with debug/handler.Handler

This commit is contained in:
Milos Gajdos 2019-12-01 18:33:08 +00:00
parent 2928c66624
commit b2ecd93404
No known key found for this signature in database
GPG Key ID: 8B31058CC55DFD4F

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 {