From dc9948f01ed106df324c25fbfd680ca7c59bc75e Mon Sep 17 00:00:00 2001 From: vagrant Date: Thu, 26 Apr 2018 09:23:06 +0000 Subject: fix typo on tca restart script Change-Id: Idff8936a380704647e0de43b301ff9d3396f69e8 Signed-off-by: Vijay Venkatesh Kumar Issue-ID: DCAEGEN2-464 --- tca-cdap-container/restart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tca-cdap-container/restart.sh b/tca-cdap-container/restart.sh index 942a930..d9e53b3 100755 --- a/tca-cdap-container/restart.sh +++ b/tca-cdap-container/restart.sh @@ -187,7 +187,7 @@ function tca_poll_policy { NEWPREF=$(echo $PREF | jq --arg tca_policy "$POLICY" '. + {tca_policy: $tca_policy}') NEWPREF=$(echo $NEWPREF | sed 's/\\n//g') echo $CONFIG | jq . --sort-keys > "${TCA_CONF_TEMP}" - echo $NEWPREF | jq . --sort_keys > "${TCA_PREF_TEMP}" + echo $NEWPREF | jq . --sort-keys > "${TCA_PREF_TEMP}" fi if [ ! -e "${TCA_CONF_TEMP}" ] || [ "$(ls -sh ${TCA_CONF_TEMP} |cut -f1 -d' ' |sed -e 's/[^0-9]//g')" -lt "1" ]; then -- cgit 1.2.3-korg