From 52a95eb03cacc2ef597307236b67a6db535cc56c Mon Sep 17 00:00:00 2001 From: Wei Tie Date: Fri, 5 Jan 2018 12:09:57 -0800 Subject: [PATCH] Fix a typo Rename TMP_CONF to TMP_DEST Signed-off-by: Wei Tie --- netplugin-init/kubernetes/001-config-k8s-client.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netplugin-init/kubernetes/001-config-k8s-client.sh b/netplugin-init/kubernetes/001-config-k8s-client.sh index 57579d4..0b4a94e 100755 --- a/netplugin-init/kubernetes/001-config-k8s-client.sh +++ b/netplugin-init/kubernetes/001-config-k8s-client.sh @@ -13,9 +13,9 @@ sed -i s/__KUBERNETES_SERVICE_HOST__/${KUBERNETES_SERVICE_HOST}/g $TMP_DEST sed -i s/__KUBERNETES_SERVICE_PORT__/${KUBERNETES_SERVICE_PORT}/g $TMP_DEST echo "INFO: Got K8S configs" -cat $TMP_CONF +cat $TMP_DEST # put token after print out the contains sed -i s/__SERVICEACCOUNT_TOKEN__/${SERVICEACCOUNT_TOKEN:-}/g $TMP_DEST -mv $TMP_CONF $K8S_DEST +mv $TMP_DEST $K8S_DEST