mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Fix bug where modify_body in modify was not being set to json
This commit is contained in:
parent
0effe55c31
commit
d30282ef25
3 changed files with 4 additions and 3 deletions
|
|
@ -64,8 +64,9 @@ class Pooler
|
|||
|
||||
response = conn.put do |req|
|
||||
req.url "/vm/#{hostname}"
|
||||
req.body = modify_body
|
||||
req.body = modify_body.to_json
|
||||
end
|
||||
|
||||
res_body = JSON.parse(response.body)
|
||||
res_body
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
class Version
|
||||
@version = '0.2.11'
|
||||
@version = '0.2.12'
|
||||
|
||||
def self.get
|
||||
@version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue