Skip to content

Commit 1fcd4b2

Browse files
committed
Fix kotlin writer runtime exception
1 parent 91355d1 commit 1fcd4b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/protocol/HttpProtocolClientGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ open class HttpProtocolClientGenerator(
344344
val interceptorSymbol = RuntimeTypes.HttpClient.Interceptors.Md5ChecksumInterceptor
345345
val inputSymbol = ctx.symbolProvider.toSymbol(ctx.model.expectShape(inputShape))
346346
writer.withBlock("op.interceptors.add(#T<#T> {", "})", interceptorSymbol, inputSymbol) {
347-
writer.write("true", RuntimeTypes.HttpClient.Operation.HttpOperationContext)
347+
writer.write("true")
348348
}
349349
}
350350
}

0 commit comments

Comments
 (0)