Skip to content

Commit

Permalink
fix: avoid using incorrect logger
Browse files Browse the repository at this point in the history
  • Loading branch information
darora committed Nov 8, 2023
1 parent 1a17758 commit 74a8322
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testinfra/test_ami.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ def gzip_then_base64_encode(s: str) -> str:
)[0]
instance.wait_until_running()

logger = EC2InstanceConnectLogger(debug=False)
temp_key = EC2InstanceConnectKey(logger.get_logger())
ec2logger = EC2InstanceConnectLogger(debug=False)
temp_key = EC2InstanceConnectKey(ec2logger.get_logger())
ec2ic = boto3.client("ec2-instance-connect", region_name="ap-southeast-1")
response = ec2ic.send_ssh_public_key(
InstanceId=instance.id,
Expand Down

0 comments on commit 74a8322

Please sign in to comment.