Skip to content

Commit 6a37404

Browse files
authored
fix(codegen); fix rendering of middleware without configure (#535)
1 parent 09b494c commit 6a37404

File tree

1 file changed

+1
-1
lines changed
  • smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/protocol

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ abstract class HttpFeatureMiddleware : ProtocolMiddleware {
6868
.call { renderConfigure(writer) }
6969
.closeBlock("}")
7070
} else {
71-
writer.write("install(#L)", name)
71+
writer.write("op.install(#L)", name)
7272
}
7373
}
7474

0 commit comments

Comments
 (0)