Skip to content
Snippets Groups Projects
Commit 1799663e authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

don't hardcode http

parent 223c94a7
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,6 @@ logger = logging.getLogger(__name__)
def get_interfaces(host):
r = requests.get(f'http://{host}/poller/interfaces')
r = requests.get(f'{host}/poller/interfaces')
r.raise_for_status()
return r.json()
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