From a3686b7e81912d9c1e60aef9047df23611334ee9 Mon Sep 17 00:00:00 2001 From: Joseph Herlant Date: Tue, 16 Oct 2018 19:29:44 -0700 Subject: [PATCH] cosmetic: re-declaring the type is not needed --- aws_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws_config.go b/aws_config.go index 230ff70..e0ecf63 100644 --- a/aws_config.go +++ b/aws_config.go @@ -15,7 +15,7 @@ const ( // SetAwsConfig configure the AWS region with a fallback for discovery // on EC2 hosts. -func SetAwsConfig(region, profile *string, role *string) (err error) { +func SetAwsConfig(region, profile, role *string) (err error) { if region == nil { // Try to get our region based on instance metadata region, err = getRegion()