mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-03-27 01:07:43 -04: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 | ||