We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d13296d + 324a8c5 commit 5021cc4Copy full SHA for 5021cc4
lib/terraform/runner.rb
@@ -9,7 +9,7 @@ class << self
9
def available?
10
return @available if defined?(@available)
11
12
- response = terraform_runner_client.get('api/ping')
+ response = terraform_runner_client.get('ping')
13
@available = response.status == 200
14
rescue
15
@available = false
spec/lib/terraform/runner_spec.rb
@@ -19,7 +19,7 @@
19
before do
20
ENV["TERRAFORM_RUNNER_URL"] = "https://1.2.3.4:7000"
21
22
- stub_request(:get, "https://1.2.3.4:7000/api/ping")
+ stub_request(:get, "https://1.2.3.4:7000/ping")
23
.to_return(:status => 200, :body => {'count' => 0}.to_json)
24
end
25
0 commit comments