grnet / maas2netbox

Enrich NetBox from MaaS gathered information
GNU General Public License v3.0
22 stars 6 forks source link

Fixed bug: Do not fail if scheme is missing from IPMI url #4

Closed neoaggelos closed 5 years ago

neoaggelos commented 5 years ago

By default, urlparse('hostname.domain.ext').netloc returns an empty value, because the protocol scheme is missing. This means that even though https://my.ipmi.address works, my.ipmi.address returns an empty string.