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:12:41 -0400 |
commit | d4ad537e536076938c8b178eb41eba3f94f6266c (patch) | |
tree | 2de8784a3ec29bd60b007b29dd9c973b411ae1f8 /pytests | |
parent | 7a4bac009fbbf8fe1e8ed7c3c06d2d5638f25b1a (diff) | |
download | mongo-d4ad537e536076938c8b178eb41eba3f94f6266c.tar.gz |
SERVER-34062 powertest.py attempts to access an attribute named address_type rather than its value
(cherry picked from commit d91abcb54e4b867d33cc2faacd4087f04feb1b01)
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 2e943f4bd12..c93e70c19a3 100755 --- a/pytests/powertest.py +++ b/pytests/powertest.py @@ -2525,7 +2525,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: |