Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp committed Oct 11, 2023
1 parent f859522 commit 94770a3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ def fetch_token(conn)
@imds_v1_fallback = true
end

# token is optional - if nil, uses v1 (insecure) flow
def _get_credentials(conn, token)
metadata = http_get(conn, METADATA_PATH_BASE, token)
profile_name = metadata.lines.first.strip
Expand Down

0 comments on commit 94770a3

Please sign in to comment.