Skip to content

Commit

Permalink
Adds whitespace linter
Browse files Browse the repository at this point in the history
  • Loading branch information
gdavison committed Nov 6, 2023
1 parent ac28271 commit d47833d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ linters:
- unused
- typecheck
- vet
- whitespace

linters-settings:
gomnd:
Expand Down
1 change: 0 additions & 1 deletion credentials_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ func TestAWSGetCredentials_ec2Imds(t *testing.T) {

validateCredentialsProvider(ctx, creds, "Ec2MetadataAccessKey", "Ec2MetadataSecretKey", "Ec2MetadataSessionToken", ec2rolecreds.ProviderName, t)
testCredentialsProviderWrappedWithCache(creds, t)

}

func TestAWSGetCredentials_configShouldOverrideEc2IMDS(t *testing.T) {
Expand Down
1 change: 0 additions & 1 deletion s3attributes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,6 @@ func assertAttributesMatch(t *testing.T, x, y []attribute.KeyValue) {
); diff != "" {
t.Fatalf("unexpected credentials: (- got, + expected)\n%s", diff)
}

}

func less[T ~string](x, y T) bool {
Expand Down

0 comments on commit d47833d

Please sign in to comment.