Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PM-2091 - Update Mina Daemon Readiness rule #299

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mina-daemon/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: mina-daemon
description: A Helm chart for Mina Protocol's daemons
type: application
version: 2.1.0
appVersion: 2.1.0
version: 2.1.1
appVersion: 3.0.4
annotations:
artifacthub.io/changes: |
- Initial Commit
Expand Down
2 changes: 1 addition & 1 deletion mina-daemon/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# mina-daemon

![Version: 2.1.0](https://img.shields.io/badge/Version-2.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.1.0](https://img.shields.io/badge/AppVersion-2.1.0-informational?style=flat-square)
![Version: 2.1.1](https://img.shields.io/badge/Version-2.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.4](https://img.shields.io/badge/AppVersion-3.0.4-informational?style=flat-square)

A Helm chart for Mina Protocol's daemons

Expand Down
2 changes: 1 addition & 1 deletion mina-daemon/scripts/healthcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ check_liveness() {

# Function to check mina client status for liveness
check_readiness() {
sync_status=$(mina client status --json | jq -r ".sync_status")
sync_status=$(mina client status --json | jq -r 'select(.sync_status) | .sync_status')
if [ "$sync_status" != "Synced" ]; then
exit 1
fi
Expand Down