From 6b041f5c48d1f8809e68d763749b3fee421417fc Mon Sep 17 00:00:00 2001 From: Jake Spain Date: Mon, 7 Aug 2023 11:31:37 -0400 Subject: [PATCH] Use relative path for pooler status and summary --- lib/vmfloaty/pooler.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vmfloaty/pooler.rb b/lib/vmfloaty/pooler.rb index 855e604..9d47407 100644 --- a/lib/vmfloaty/pooler.rb +++ b/lib/vmfloaty/pooler.rb @@ -146,14 +146,14 @@ def self.delete(verbose, url, hosts, token, _user) 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