fission function logs returns logs in correct order now (#405)

Fix a bug in `fission function logs` due to which logs with the same timestamp were printed in the wrong order.
This commit is contained in:
prithviramesh
2017-11-22 18:05:49 -08:00
committed by Soam Vasani
parent 04531850d5
commit 2247d3118a
4 changed files with 38 additions and 11 deletions
+6 -4
View File
@@ -32,16 +32,18 @@ type LogDatabase interface {
}
type LogFilter struct {
Pod string
Function string
FuncUid string
Since time.Time
Pod string
Function string
FuncUid string
Since time.Time
RecordLimit int
}
type LogEntry struct {
Timestamp time.Time
Message string
Stream string
Sequence int
Container string
Namespace string
FuncName string