Time resolution change to be in line with debug/handler.Handler
This commit is contained in:
parent
2928c66624
commit
b2ecd93404
@ -36,7 +36,7 @@ func (d *Debug) Logs(opts ...log.ReadOption) (<-chan log.Record, error) {
|
|||||||
|
|
||||||
req := &pb.LogRequest{}
|
req := &pb.LogRequest{}
|
||||||
if !options.Since.IsZero() {
|
if !options.Since.IsZero() {
|
||||||
req.Since = options.Since.UnixNano()
|
req.Since = options.Since.Unix()
|
||||||
}
|
}
|
||||||
|
|
||||||
if options.Count > 0 {
|
if options.Count > 0 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user