Skip to content

Commit

Permalink
Merge 7282078 into backport/fix/vault-ca-aws-role/scarcely-full-python
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-github-team-consul-core authored Jul 12, 2023
2 parents e976a9d + 7282078 commit 9679496
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions agent/connect/ca/provider_vault_auth_aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ func (g *AWSLoginDataGenerator) GenerateLoginData(authMethod *structs.VaultAuthM
if err != nil {
return nil, fmt.Errorf("aws auth failed to generate login data: %w", err)
}
if loginData == nil {
return nil, fmt.Errorf("got nil response from GenerateLoginData")
}

// If a Vault role name is specified, we need to manually add this
role, ok := authMethod.Params["role"]
Expand Down

0 comments on commit 9679496

Please sign in to comment.