@@ -573,8 +573,9 @@ func pathExists(path string) bool {
573
573
574
574
// parseDockerJSONLog parses logs in Docker JSON log format.
575
575
// Docker JSON log format example:
576
- // {"log":"content 1","stream":"stdout","time":"2016-10-20T18:39:20.57606443Z"}
577
- // {"log":"content 2","stream":"stderr","time":"2016-10-20T18:39:20.57606444Z"}
576
+ //
577
+ // {"log":"content 1","stream":"stdout","time":"2016-10-20T18:39:20.57606443Z"}
578
+ // {"log":"content 2","stream":"stderr","time":"2016-10-20T18:39:20.57606444Z"}
578
579
func parseDockerJSONLog (log []byte , msg * logMessage ) {
579
580
var l jsonlog.JSONLog
580
581
@@ -588,8 +589,9 @@ func parseDockerJSONLog(log []byte, msg *logMessage) {
588
589
589
590
// parseCRILog parses logs in CRI log format.
590
591
// CRI log format example :
591
- // 2016-10-06T00:17:09.669794202Z stdout P The content of the log entry 1
592
- // 2016-10-06T00:17:10.113242941Z stderr F The content of the log entry 2
592
+ //
593
+ // 2016-10-06T00:17:09.669794202Z stdout P The content of the log entry 1
594
+ // 2016-10-06T00:17:10.113242941Z stderr F The content of the log entry 2
593
595
func parseCRILog (log string , msg * logMessage ) {
594
596
logMessage := strings .SplitN (log , " " , 4 )
595
597
if len (log ) < 4 {
0 commit comments