diff options
author | vagrant <vv770d@att.com> | 2018-04-26 09:23:06 +0000 |
---|---|---|
committer | vagrant <vv770d@att.com> | 2018-04-26 09:24:49 +0000 |
commit | dc9948f01ed106df324c25fbfd680ca7c59bc75e (patch) | |
tree | 026b6cc2f53cf317a632f1147680ed8a5930a42e | |
parent | e134c82fe0ca1925e4cb9bffde422fba2852e2e5 (diff) |
fix typo on tca restart script
Change-Id: Idff8936a380704647e0de43b301ff9d3396f69e8
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-464
-rwxr-xr-x | tca-cdap-container/restart.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |