Skip to content

Commit

Permalink
Style/StringLiterals
Browse files Browse the repository at this point in the history
Signed-off-by: sawanoboly <sawanoboriyu@higanworks.com>
  • Loading branch information
sawanoboly committed Dec 10, 2020
1 parent a2987d3 commit 079decf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ohai/mixin/ec2_metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def http_client
end

def v2_token
@v2_token ||= http_client.put('/latest/api/token', nil, { 'X-aws-ec2-metadata-token-ttl-seconds': "60" })&.body
@v2_token ||= http_client.put("/latest/api/token", nil, { 'X-aws-ec2-metadata-token-ttl-seconds': "60" })&.body
end

# Get metadata for a given path and API version
Expand Down

0 comments on commit 079decf

Please sign in to comment.