Comment 4 for bug 1566395

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to swift (master)

Reviewed: https://review.openstack.org/302171
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=5d56f40f04fa9211a2e392d667fe395f38d2cca5
Submitter: Jenkins
Branch: master

commit 5d56f40f04fa9211a2e392d667fe395f38d2cca5
Author: Alistair Coles <email address hidden>
Date: Wed Apr 6 11:48:48 2016 +0100

    Make DirectClientException report correct ip and port

    When direct_client.direct_get_suffix_hashes raises a
    DirectClientException the exception message and variables
    should report the replication_ip and replication_port, as
    opposed to the ip and port values reported for all other
    case when the exception is raised.

    Add option to override ip and port reported in
    DirectClientException.

    Also adds unit tests to verify both cases.

    Related-Bug: 1566395
    Change-Id: If3d952847c7199f4e9f6164858085367266386d2