mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Replace localhost
with 127.0.0.1
This commit is contained in:
parent
be69417af9
commit
9e1f46ec59
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ def test_real_proxy(
|
|||
"/real_proxy_test",
|
||||
headers={"X-Tinyproxy-Header": "Test custom tinyproxy header"},
|
||||
).respond_with_data(data, content_type="application/octet-stream")
|
||||
url = httpserver.url_for("/real_proxy_test")
|
||||
url = httpserver.url_for("/real_proxy_test").replace("localhost", "127.0.0.1")
|
||||
|
||||
# We just want to be sure that it's using the proxy
|
||||
ret = salt.utils.http.query(
|
||||
|
|
Loading…
Add table
Reference in a new issue