mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
fix more
This commit is contained in:
parent
78af11b6a0
commit
b1da19588d
2 changed files with 4 additions and 3 deletions
|
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
function log() {
|
||||
log() {
|
||||
timestamp=$(date +"%Y-%m-%d %H:%M:%S")
|
||||
message="$*"
|
||||
echo "$timestamp: $message"
|
||||
}
|
||||
|
||||
function wait_for_healthz() {
|
||||
wait_for_healthz() {
|
||||
local healthz_url="$1"
|
||||
local timeout_seconds="${2:-30}" # Default timeout of 30 seconds
|
||||
local sleep_between="${3:-1}" # Default sleep of 1 seconds
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#/bin/sh
|
||||
# if any of the commands fail, the script will exit
|
||||
set -e
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue