Skip to content

Commit

Permalink
wrang param name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Waters committed Jul 25, 2016
1 parent dcf0bcf commit 39d24c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/vault.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def initialize
# if it does, then we don't need to worry about going and getting one
@writers = vault_hosts.map do |vault_server|
if vault_server["vault_token"].present?
writer = Vault::Client.new(DEFAULT_CLIENT_OPTIONS.merge(verify_mode: vault_server["tls_verify"]))
writer = Vault::Client.new(DEFAULT_CLIENT_OPTIONS.merge(ssl_verify: vault_server["tls_verify"]))
writer.token = File.read(vault_server["vault_token"]).strip
else
pemfile = File.read(vault_server["vault_auth_pem"])
Expand Down

0 comments on commit 39d24c3

Please sign in to comment.