From 83504633413908581be0fb784c7bcbce51d64f4d Mon Sep 17 00:00:00 2001 From: Gabe Conradi Date: Wed, 16 Jul 2014 10:47:14 -0400 Subject: [PATCH] use correct syntax for alternative value of KUBE_MINIONS --- build/run-images/apiserver/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/run-images/apiserver/run.sh b/build/run-images/apiserver/run.sh index 3cc667acbc..78824f8d84 100755 --- a/build/run-images/apiserver/run.sh +++ b/build/run-images/apiserver/run.sh @@ -16,6 +16,6 @@ # If the user doesn't specify a minion, assume we are running in a single node # configuration and that we have a local minion. -KUBE_MINIONS=${KUBE_MINIONS:$(hostname -f)} +KUBE_MINIONS="${KUBE_MINIONS:-$(hostname -f)}" ./apiserver -address=0.0.0.0 -etcd_servers="${ETCD_SERVERS}" --machines="${KUBE_MINIONS}"