Skip to content

Commit d9bc800

Browse files
author
Tianyi Wang
committed
add comment to recursion detection middleware
1 parent faa84fa commit d9bc800

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

aws/middleware/middleware.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ func (m *RecursionDetection) ID() string {
182182
return "RecursionDetection"
183183
}
184184

185+
// HandleBuild detects Lambda environment and adds its trace ID to request header if absent
185186
func (m *RecursionDetection) HandleBuild(
186187
ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler,
187188
) (

0 commit comments

Comments
 (0)