Skip to content

Commit

Permalink
remove unnecessary line thats breaking full build
Browse files Browse the repository at this point in the history
  • Loading branch information
isaiahvita committed Jul 26, 2023
1 parent d28731a commit 57215ec
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import java.util.stream.Stream;
import software.amazon.smithy.aws.go.codegen.customization.S3ModelUtils;
import software.amazon.smithy.aws.traits.ServiceTrait;
import software.amazon.smithy.aws.traits.auth.SigV4Trait;
import software.amazon.smithy.codegen.core.CodegenException;
import software.amazon.smithy.codegen.core.Symbol;
import software.amazon.smithy.go.codegen.GoSettings;
Expand Down Expand Up @@ -542,7 +541,6 @@ private void generateMiddlewareResolverBody(GoStackStepMiddlewareGenerator g, Go
w.openBlock("if len(awsmiddleware.GetSigningName(ctx)) == 0 {", "}", () -> {
w.write("signingName := endpoint.SigningName");
w.openBlock("if len(signingName) == 0 {", "}", () -> {
serviceShape.expectTrait(SigV4Trait.class).getName();
w.write("signingName = $S", serviceShape.expectTrait(ServiceTrait.class).getArnNamespace());
});
w.write("ctx = awsmiddleware.SetSigningName(ctx, signingName)");
Expand Down

0 comments on commit 57215ec

Please sign in to comment.