From 83d3be55be732aed8d7edee0aaf50263c2207699 Mon Sep 17 00:00:00 2001 From: Jason Del Ponte Date: Tue, 24 Nov 2020 16:47:23 -0800 Subject: [PATCH] address go version conflict hardcoded --- .../amazon/smithy/aws/go/codegen/QueryShapeSerVisitor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/QueryShapeSerVisitor.java b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/QueryShapeSerVisitor.java index eda8264df75..54d9c57287a 100644 --- a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/QueryShapeSerVisitor.java +++ b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/QueryShapeSerVisitor.java @@ -119,7 +119,7 @@ protected void serializeMap(GenerationContext context, MapShape shape) { // that impractical since you can't make a function for a map[string]any writer.write("keys := make([]string, 0, len(v))"); writer.write("for key := range v { keys = append(keys, key) }"); - writer.addUseImports(GoDependency.standardLibraryDependency("sort", "1.14")); + writer.addUseImports(GoDependency.standardLibraryDependency("sort", "1.15")); writer.write("sort.Strings(keys)"); writer.write("");