Skip to content

Commit 493a729

Browse files
committed
Fix Terraform::Runner.available?
The endpoint for opentofu-runner ping is just `/ping` not `/api/ping`
1 parent d13296d commit 493a729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/terraform/runner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class << self
99
def available?
1010
return @available if defined?(@available)
1111

12-
response = terraform_runner_client.get('api/ping')
12+
response = terraform_runner_client.get('ping')
1313
@available = response.status == 200
1414
rescue
1515
@available = false

0 commit comments

Comments
 (0)