(#19) Update vmfloaty to expect /api/v1 in URL for disk endpoint

This commit updates floaty to use a new endpoint to modify vms. Now you
can use the modify command to extend the disk space of a given vm. The
downside is this new endpoint only exists at /api/v1 on the pooler, and
the way Faraday works required an update to removing a leading slash for
each request endpoint. Users should update their URL in the floaty dot
file to include a /api/v1 at the end of the pooler url
This commit is contained in:
Brian Cain 2016-05-03 14:50:39 -07:00
parent 56924fa811
commit 2e24a455a3
7 changed files with 52 additions and 24 deletions

View file

@ -1,2 +1,3 @@
url: 'http://vmpooler.example.com'
url: 'http://vmpooler.example.com/api/v1'
user: 'brian'
token: 'token here'