From 8073816cd8e700eaa9f30966cc5dfc053f61bfa8 Mon Sep 17 00:00:00 2001 From: Alexei Ledenev Date: Tue, 5 Sep 2023 13:08:50 +0300 Subject: [PATCH] make linter happy --- internal/aws/global/infrastructure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/aws/global/infrastructure.go b/internal/aws/global/infrastructure.go index 4da9154..f250969 100644 --- a/internal/aws/global/infrastructure.go +++ b/internal/aws/global/infrastructure.go @@ -24,7 +24,7 @@ var ( type AWSRegionExplorer struct{} // GetRegionMap returns a map of region ID to Region -func (aws AWSRegionExplorer) GetRegionMap(ctx context.Context) (map[string]Region, error) { +func (ex *AWSRegionExplorer) GetRegionMap(ctx context.Context) (map[string]Region, error) { var err error // load the region map from SSM parameter store, do it only once once.Do(func() {