Skip to content
Snippets Groups Projects
Commit 5d6feb46 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Merge branch 'fix/hostname-errs' into 'master'

Fix getting hostname for error messages about device servers config

See merge request !93
parents 99d789e8 afd1e0da
No related branches found
No related tags found
1 merge request!93Fix getting hostname for error messages about device servers config
...@@ -1074,7 +1074,7 @@ class CalibrationManager(DeviceClientBase, Device): ...@@ -1074,7 +1074,7 @@ class CalibrationManager(DeviceClientBase, Device):
# need are in there, and obtain their API names. # need are in there, and obtain their API names.
for host, req_names in hosts.items(): for host, req_names in hosts.items():
# Retrieve hostname for nice error messages. # Retrieve hostname for nice error messages.
hostname = urlparse(self._server_hosts[name]).hostname hostname = urlparse(host).hostname
try: try:
reply = await to_asyncio_future(self._http_client.fetch( reply = await to_asyncio_future(self._http_client.fetch(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment