Skip to content

Commit

Permalink
Update agent/connect/ca/provider_vault_auth_jwt.go
Browse files Browse the repository at this point in the history
PR feedback.

Co-authored-by: Paul Glass <pglass@hashicorp.com>
  • Loading branch information
eikenb and Paul Glass authored Feb 28, 2023
1 parent daa2f34 commit e0b4406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/connect/ca/provider_vault_auth_jwt.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func JwtLoginDataGen(authMethod *structs.VaultAuthMethod) (map[string]any, error
}, nil
}

// Note the `jwt` can be passed directly in the authMethod as the it's Params
// Note: the `jwt` can be passed directly in the authMethod as Params
// is a freeform map in the config where they could hardcode it.
// See comment on configureVaultAuthMethod (in ./provider_vault.go) for more.
func hasJWT(params map[string]any) (string, bool) {
Expand Down

0 comments on commit e0b4406

Please sign in to comment.