summaryrefslogtreecommitdiffstats
path: root/configserver/src/main/sh/ping-configserver
diff options
context:
space:
mode:
Diffstat (limited to 'configserver/src/main/sh/ping-configserver')
-rwxr-xr-xconfigserver/src/main/sh/ping-configserver1
1 files changed, 1 insertions, 0 deletions
diff --git a/configserver/src/main/sh/ping-configserver b/configserver/src/main/sh/ping-configserver
index b14fc22a9ae..f899a3ddc62 100755
--- a/configserver/src/main/sh/ping-configserver
+++ b/configserver/src/main/sh/ping-configserver
@@ -1,4 +1,5 @@
#!/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\"}"