Skip to content

Commit

Permalink
updated grep flags
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoswami committed Feb 12, 2019
1 parent 94f80da commit f335843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frameworks/cassandra/src/main/dist/svc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pods:
cmd: >
export JAVA_HOME=$(ls -d $MESOS_SANDBOX/jdk*/jre/) ;
export TASK_IP=$(./bootstrap --get-task-ip) &&
./apache-cassandra-{{CASSANDRA_VERSION}}/bin/nodetool status -p {{TASKCFG_ALL_JMX_PORT}} | grep -E "UN( |\t)+$TASK_IP"
./apache-cassandra-{{CASSANDRA_VERSION}}/bin/nodetool status -p {{TASKCFG_ALL_JMX_PORT}} | grep -q -E “UN( |\t)+$TASK_IP
interval: {{READINESS_CHECK_INTERVAL}}
delay: {{READINESS_CHECK_DELAY}}
timeout: {{READINESS_CHECK_TIMEOUT}}
Expand Down

0 comments on commit f335843

Please sign in to comment.