mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Prior to this commit, if a user provided a url without HTTP or HTTPS Faraday would fail to make a connection to the pooler since it doesn't seem to handle urls without that. This commit adds a simple check to see what kind of URI the user gave us, and if its missing that protocol add it to the beginning of the URL before making a request. |
||
|---|---|---|
| .. | ||
| vmfloaty | ||
| vmfloaty.rb | ||