From eb06649473150138cf1a5f68315e9b7a8d643217 Mon Sep 17 00:00:00 2001 From: JP Earnest <21163267+jpke@users.noreply.github.com> Date: Fri, 13 Oct 2023 12:56:11 -0400 Subject: [PATCH 1/2] return AvailabilityZoneId of subnets --- handler/inv/init.go | 1 + 1 file changed, 1 insertion(+) diff --git a/handler/inv/init.go b/handler/inv/init.go index 9fd685c..cc20053 100644 --- a/handler/inv/init.go +++ b/handler/inv/init.go @@ -167,6 +167,7 @@ func init() { {FriendlyName: "State", FieldName: "State"}, {FriendlyName: "CidrBlock", FieldName: "CidrBlock"}, {FriendlyName: "AvailabilityZone", FieldName: "AvailabilityZone"}, + {FriendlyName: "AvailabilityZoneId", FieldName: "AvailabilityZoneId"}, }} }) spreadsheet.RegisterSheet(helpers.SheetSecurityGroups, func() *spreadsheet.Sheet { From 447e2119c212439a5cef547f730a529793e17424 Mon Sep 17 00:00:00 2001 From: JP Earnest <21163267+jpke@users.noreply.github.com> Date: Fri, 13 Oct 2023 13:12:25 -0400 Subject: [PATCH 2/2] Update .golangci.yml --- handler/.golangci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/handler/.golangci.yml b/handler/.golangci.yml index a744e82..204d4a3 100644 --- a/handler/.golangci.yml +++ b/handler/.golangci.yml @@ -28,6 +28,9 @@ linters-settings: lines: 100 statements: 50 +run: + timeout: 5m + linters: # please, do not use `enable-all`: it's deprecated and will be removed soon. # inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint @@ -51,4 +54,4 @@ linters: - typecheck - unconvert - unparam - - unused \ No newline at end of file + - unused