Skip to content

Commit 229e2f0

Browse files
Pull protocol from protocol generator
1 parent 77617d4 commit 229e2f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/HttpProtocolTestGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public HttpProtocolTestGenerator(
107107
) {
108108
this.settings = context.getSettings();
109109
this.model = context.getModel();
110-
this.protocol = context.getSettings().getProtocol();
110+
this.protocol = protocolGenerator.getProtocol();
111111
this.service = settings.getService(model);
112112
this.symbolProvider = context.getSymbolProvider();
113113
this.protocolGenerator = protocolGenerator;

0 commit comments

Comments
 (0)