Skip to content
This repository was archived by the owner on Jan 15, 2023. It is now read-only.

Commit 1fc4f2a

Browse files
committed
fix(log): apply billed duration by 1ms
1 parent b25f269 commit 1fc4f2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provided/run/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ func (mc *mockLambdaContext) LogEndRequest() {
978978
"Billed Duration: %.f ms\t"+
979979
"Memory Size: %s MB\t"+
980980
"Max Memory Used: %d MB\t",
981-
mc.RequestID, diffMs, math.Ceil(diffMs/100)*100, mc.MemSize, mc.MaxMem))
981+
mc.RequestID, diffMs, math.Ceil(diffMs), mc.MemSize, mc.MaxMem))
982982
}
983983

984984
type invokeResponse struct {

0 commit comments

Comments
 (0)