From 4b19caaf8645726949f299209ec0b4902d347c43 Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Wed, 3 Feb 2021 14:43:16 +0000 Subject: [PATCH] Fix logger output for signHeaders --- Sources/SotoCore/AWSClient.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SotoCore/AWSClient.swift b/Sources/SotoCore/AWSClient.swift index dedac1fd38..66cf7c7f2f 100644 --- a/Sources/SotoCore/AWSClient.swift +++ b/Sources/SotoCore/AWSClient.swift @@ -482,7 +482,7 @@ extension AWSClient { serviceConfig: AWSServiceConfig, logger: Logger = AWSClient.loggingDisabled ) -> EventLoopFuture { - 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