Skip to content

Commit

Permalink
Merge pull request kubernetes#29373 from moolitayer/clean_script_output
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

Silence curl output

Removes the following from script output:
curl: (7) Failed to connect to 127.0.0.1 port 8080: Connection refused
  • Loading branch information
k8s-merge-robot authored Jul 23, 2016
2 parents ddc3d8e + ba6878f commit 0e8d515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/local-up-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ CLAIM_BINDER_SYNC_PERIOD=${CLAIM_BINDER_SYNC_PERIOD:-"15s"} # current k8s defaul
function test_apiserver_off {
# For the common local scenario, fail fast if server is already running.
# this can happen if you run local-up-cluster.sh twice and kill etcd in between.
curl -g $API_HOST:$API_PORT
curl --silent -g $API_HOST:$API_PORT
if [ ! $? -eq 0 ]; then
echo "API SERVER port is free, proceeding..."
else
Expand Down

0 comments on commit 0e8d515

Please sign in to comment.