Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/vault/api/logical.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def unwrap_token(wrapper)
end

return response.auth.client_token
rescue HTTPError => e
rescue HTTPError
raise
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/vault/api/sys/mount.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def get_mount_tune(path)
# @param [Hash] data
# the data to write
def mount_tune(path, data = {})
json = client.post("/v1/sys/mounts/#{encode_path(path)}/tune", JSON.generate(data))
client.post("/v1/sys/mounts/#{encode_path(path)}/tune", JSON.generate(data))
return true
end

Expand Down
2 changes: 1 addition & 1 deletion lib/vault/client.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright IBM Corp. 2015, 2025
# SPDX-License-Identifier: MPL-2.0

require "cgi"
require "cgi/escape"
require "json"
require "uri"

Expand Down