chore(cli): proper formatting

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2025-01-30 16:40:17 +01:00
parent dbcb651f40
commit 2fc4f552d5

View file

@ -372,9 +372,10 @@ function version_specific_checks() {
version=$(sem_to_int "$1")
# check version specific instructions
if [ "$version" -le 1220 ]; then
echo "${GREEN}[info] Version less than 1.22.0${NC}"
echo "${GREEN}[info] Checking clickhouse${NC}"
log info "Version less than 1.22.0"
log info "Checking clickhouse"
if ! kubectl get pods -n ${DB_NS} -l app.kubernetes.io/name=clickhouse; then
log info "Installing clickhouse"
kubectl apply -f https://github.com/openreplay/openreplay/raw/refs/heads/master/scripts/helmcharts/manifests/clickhouse-db.yaml -n db
fi
fi