From 290fe209dbda8a8b46b0a8021f90ebc106879bb9 Mon Sep 17 00:00:00 2001 From: Vijay Venkatesh Kumar Date: Wed, 24 Apr 2019 12:49:48 +0000 Subject: Change tca policy fieldpath Change-Id: Ia39e524b7415ffb30125270308c3c44613ebc2f5 Signed-off-by: Vijay Venkatesh Kumar Issue-ID: DCAEGEN2-1454 --- tca-cdap-container/restart.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tca-cdap-container/restart.sh') diff --git a/tca-cdap-container/restart.sh b/tca-cdap-container/restart.sh index 6d0c60f..c61c300 100755 --- a/tca-cdap-container/restart.sh +++ b/tca-cdap-container/restart.sh @@ -1,6 +1,6 @@ #!/bin/bash # ================================================================================ -# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -201,7 +201,7 @@ function tca_poll_policy { else CONFIG=$(echo "$HTTP_BODY" | jq .config.app_config) PREF=$(echo "$HTTP_BODY" | jq .config.app_preferences) - POLICY=$(echo "$HTTP_BODY" | jq .policies.items[0].config.content.tca_policy) + POLICY=$(echo "$HTTP_BODY" | jq .policies.items[0].config.tca_policy) if [[ "$CONFIG" == "null" || "$PREF" == "null" ]]; then -- cgit 1.2.3-korg