diff options
Diffstat (limited to 'configserver/src/main/sh/ping-configserver')
-rwxr-xr-x | configserver/src/main/sh/ping-configserver | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/configserver/src/main/sh/ping-configserver b/configserver/src/main/sh/ping-configserver deleted file mode 100755 index f899a3ddc62..00000000000 --- a/configserver/src/main/sh/ping-configserver +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -host=$1 -port=$2 -curl -s -S -m 5 http://$host:$port/state/v1/health | grep "status\": {\"code\": \"up\"}" -if [ $? -gt 0 ]; then - exit 1 -else - exit 0 -fi |