Skip to content

Commit ac97392

Browse files
committed
qt->qtype
1 parent 3f73d67 commit ac97392

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/protocol/rpc2/cbor/Rpc2CborProtocolGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,14 +195,14 @@ private GoWriter.Writable deserializeErrorCase(GenerationContext ctx, StructureS
195195

196196
private GoWriter.Writable deserializeAwsQueryError() {
197197
return goTemplate("""
198-
if qtype := getAwsQueryErrorCode(resp); len(qt) > 0 {
198+
if qtype := getAwsQueryErrorCode(resp); len(qtype) > 0 {
199199
typ = qtype
200200
}""");
201201
}
202202

203203
private GoWriter.Writable deserializeModeledAwsQueryError() {
204204
return goTemplate("""
205-
if qtype := getAwsQueryErrorCode(resp); len(qt) > 0 {
205+
if qtype := getAwsQueryErrorCode(resp); len(qtype) > 0 {
206206
verr.ErrorCodeOverride = $T(qtype)
207207
}""", SmithyGoTypes.Ptr.String);
208208
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy