diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2018-03-23 12:11:14 -0400 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2018-03-23 12:11:33 -0400 |
commit | d91abcb54e4b867d33cc2faacd4087f04feb1b01 (patch) | |
tree | 56aabe05f58be15aeeac63a71f6ed4ebc7d8eb19 /pytests | |
parent | 49138e688e51b8397bc32d8c875ea10ef968af4c (diff) | |
download | mongo-d91abcb54e4b867d33cc2faacd4087f04feb1b01.tar.gz |
SERVER-34062 powertest.py attempts to access an attribute named address_type rather than its value
Diffstat (limited to 'pytests')
-rwxr-xr-x | pytests/powertest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pytests/powertest.py b/pytests/powertest.py index 5de67a2f588..e4d99833343 100755 --- a/pytests/powertest.py +++ b/pytests/powertest.py @@ -2535,7 +2535,7 @@ Examples: if not hasattr(aws_status, address_type): raise Exception("Cannot determine address_type {} from AWS EC2 status {}".format( address_type, aws_status)) - ssh_host = aws_status.address_type + ssh_host = getattr(aws_status, address_type) if ssh_user is None: ssh_user_host = ssh_host else: |