From 4c746e236f5b8739a44cdf4490c3fc79d2d3ad3d Mon Sep 17 00:00:00 2001 From: Tim Condon <0xTim@users.noreply.github.com> Date: Tue, 7 Jan 2025 16:20:07 +0000 Subject: [PATCH] Fix bug in StackdriverLogHandler.swift --- Sources/StackdriverLogging/StackdriverLogHandler.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/StackdriverLogging/StackdriverLogHandler.swift b/Sources/StackdriverLogging/StackdriverLogHandler.swift index 6618e0d..8aec448 100644 --- a/Sources/StackdriverLogging/StackdriverLogHandler.swift +++ b/Sources/StackdriverLogging/StackdriverLogHandler.swift @@ -281,7 +281,7 @@ extension Logger { metadataValue["requestUrl"] = .optionalString(requestUrl) metadataValue["requestSize"] = .optionalString(requestSize) metadataValue["status"] = .optionalStringConvertible(status) - metadataValue["responseSize"] = .optionalString(requestSize) + metadataValue["responseSize"] = .optionalString(responseSize) metadataValue["userAgent"] = .optionalString(userAgent) metadataValue["remoteIp"] = .optionalString(remoteIp) metadataValue["serverIp"] = .optionalString(serverIp)