Skip to content

Commit

Permalink
Remove unnecessary header for the wget request.
Browse files Browse the repository at this point in the history
Signed-off-by: Akendo <akendo@akendo.eu>
  • Loading branch information
Akendo committed Jun 28, 2024
1 parent 68692df commit 5f915a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion features/base/test/test_metadata_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ def test_metadata_connection(client, non_azure, non_ali, non_chroot, non_kvm):
(exit_code, output, error) = client.execute_command(
f"wget --timeout 5 \
--header='X-aws-ec2-metadata-token: {token}' \
-H 'X-aws-ec2-metadata-token-ttl-seconds:60' \
'http://{metadata_host}/'"
)
assert exit_code == 0, f"no {error=} expected"
Expand Down

0 comments on commit 5f915a9

Please sign in to comment.