Skip to content

Commit

Permalink
fixup! Ensure comments end with period as godoc suggests
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSirenko committed Nov 1, 2024
1 parent 32e5e01 commit 6515689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloud/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func RecordRequestsMiddleware() func(*middleware.Stack) error {

// LogServerErrorsMiddleware is a middleware that logs server errors received when attempting to contact the AWS API
// A specialized middleware is used instead of the SDK's built-in retry logging to allow for customizing the verbosity
// of throttle errors vs server/unknown errors, to prevent flooding the logs with throttle error
// of throttle errors vs server/unknown errors, to prevent flooding the logs with throttle error.
func LogServerErrorsMiddleware() func(*middleware.Stack) error {
return func(stack *middleware.Stack) error {
return stack.Finalize.Add(middleware.FinalizeMiddlewareFunc("LogServerErrorsMiddleware", func(ctx context.Context, input middleware.FinalizeInput, next middleware.FinalizeHandler) (output middleware.FinalizeOutput, metadata middleware.Metadata, err error) {
Expand Down

0 comments on commit 6515689

Please sign in to comment.