Skip to content

Commit 2be043c

Browse files
author
Lukasz Jagiello
committed
Vault.auth_token.lookup typo
In comments there is a typo, there should be `Vault.auth_token.lookup` but it's `Vault.auth_token.lookup_self`
1 parent f11ed41 commit 2be043c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/vault/api/auth_token.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def create_with_role(name, options = {})
102102
# Lookup information about the current token.
103103
#
104104
# @example
105-
# Vault.auth_token.lookup_self("abcd-...") #=> #<Vault::Secret lease_id="">
105+
# Vault.auth_token.lookup("abcd-...") #=> #<Vault::Secret lease_id="">
106106
#
107107
# @param [String] token
108108
# @param [Hash] options

0 commit comments

Comments
 (0)