Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imdsclient: return a single hostname from fetch_hostname
The `fetch_hostname` method queries the `metadata/local-hostname` IMDS target, which has the potential to return multiple space-delimited hostnames. This changes the method to return only the first hostname in the list.
- Loading branch information