Skip to content

Commit 8c52411

Browse files
committed
fix(logs): Correctly format lambda logs
1 parent 41ef5b2 commit 8c52411

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/server/reporter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ func (r *InvokeReport) Print(w io.Writer) error {
2929
"Billed Duration: %.0f ms\t"+
3030
"Memory Size: %s MB\t"+
3131
"Max Memory Used: %s MB\t"+
32-
"Init Duration: %.2f ms",
32+
"Init Duration: %.2f ms\t",
3333
r.InvokeId, r.DurationMs, r.BilledDurationMs, r.MemorySizeMB, r.MaxMemoryUsedMB, r.InitDurationMs)
3434

3535
if r.Status != "" {
36-
report += fmt.Sprintf("\tStatus: %s", r.Status)
36+
report += fmt.Sprintf("Status: %s", r.Status)
3737
}
3838

3939
if _, err := fmt.Fprintln(w, report); err != nil {

0 commit comments

Comments
 (0)