Skip to content

Commit 4ea1a06

Browse files
committed
Address nit / run { ... }
1 parent 56d6f71 commit 4ea1a06

File tree

1 file changed

+1
-1
lines changed
  • runtime/auth/aws-signing-default/common/src/aws/smithy/kotlin/runtime/auth/awssigning

1 file changed

+1
-1
lines changed

runtime/auth/aws-signing-default/common/src/aws/smithy/kotlin/runtime/auth/awssigning/RequestMutator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ internal class DefaultRequestMutator : RequestMutator {
6161
* Formats a credential scope consisting of a signing date, region (SigV4 only), service, and a signature type
6262
*/
6363
internal val AwsSigningConfig.credentialScope: String
64-
get() = run {
64+
get() {
6565
val signingDate = signingDate.format(TimestampFormat.ISO_8601_CONDENSED_DATE)
6666
return when (algorithm) {
6767
AwsSigningAlgorithm.SIGV4 -> "$signingDate/$region/$service/aws4_request"

0 commit comments

Comments
 (0)