Skip to content

Commit

Permalink
update powerpipe healtcheck script
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhan-yilmaz committed Oct 11, 2024
1 parent 700013c commit 10c9ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powerpipe/healthcheck.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Perform the health check by sending a HEAD request
response=$(curl -I http://0.0.0.0:9033 2>/dev/null)
response=$(curl -I http://steampipe:9033 2>/dev/null)

# Check if the response contains "200 OK"
if echo "$response" | grep -q "200 OK"; then
Expand Down

0 comments on commit 10c9ad5

Please sign in to comment.