Skip to content

Commit

Permalink
Fix logger output for signHeaders
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Feb 3, 2021
1 parent e307f66 commit 4b19caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SotoCore/AWSClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ extension AWSClient {
serviceConfig: AWSServiceConfig,
logger: Logger = AWSClient.loggingDisabled
) -> EventLoopFuture<HTTPHeaders> {
let logger = logger.attachingRequestId(Self.globalRequestID.add(1), operation: "signURL", service: serviceConfig.service)
let logger = logger.attachingRequestId(Self.globalRequestID.add(1), operation: "signHeaders", service: serviceConfig.service)
return createSigner(serviceConfig: serviceConfig, logger: logger).flatMapThrowing { signer in
guard let cleanURL = signer.processURL(url: url) else {
throw AWSClient.ClientError.invalidURL
Expand Down

0 comments on commit 4b19caa

Please sign in to comment.