mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-25 21:28:40 -05:00
Merge pull request #186 from puppetlabs/fix_status_path
(RE-15687) Use relative path for pooler status and summary
This commit is contained in:
commit
bfae973e46
1 changed files with 2 additions and 2 deletions
|
|
@ -146,14 +146,14 @@ class Pooler
|
|||
def self.status(verbose, url)
|
||||
conn = Http.get_conn(verbose, url)
|
||||
|
||||
response = conn.get '/status'
|
||||
response = conn.get 'status'
|
||||
JSON.parse(response.body)
|
||||
end
|
||||
|
||||
def self.summary(verbose, url)
|
||||
conn = Http.get_conn(verbose, url)
|
||||
|
||||
response = conn.get '/summary'
|
||||
response = conn.get 'summary'
|
||||
JSON.parse(response.body)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue