summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-09-16 11:52:44 +0000
committerGerrit Code Review <gerrit@onap.org>2021-09-16 11:52:44 +0000
commit8b41d346ef768217de2ac92f544f6f097907c184 (patch)
tree02178bdd7104138fcfe3e78f6ff3a9cb80d09316
parent11da9b758e5ae73020ad65ade87a2f2692852410 (diff)
parent94f782babbe4364dd71787859dfb73c54d98bb24 (diff)
Merge "[OOM] Fix Feed Provisioning for DFC"
-rw-r--r--kubernetes/common/common/templates/_dmaapProvisioning.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/common/common/templates/_dmaapProvisioning.tpl b/kubernetes/common/common/templates/_dmaapProvisioning.tpl
index 704bd06a49..d28494aacd 100644
--- a/kubernetes/common/common/templates/_dmaapProvisioning.tpl
+++ b/kubernetes/common/common/templates/_dmaapProvisioning.tpl
@@ -142,7 +142,7 @@
cd /opt/app/config/cache
for file in $(ls feed*); do
NUM=$(echo "$file" | sed 's/feedConfig-\([0-9]\+\)-resp.json/\1/')
- export DR_LOG_URL_"$NUM"="$(grep -o '"logURL":"[^"]*' "$file" | cut -d '"' -f4)"
+ export DR_LOG_URL_"$NUM"="$(grep -o '"logURL":"[^"]*' "$file" | grep -w "feedlog" | cut -d '"' -f4)"
export DR_FILES_PUBLISHER_URL_"$NUM"="$(grep -o '"publishURL":"[^"]*' "$file" | cut -d '"' -f4)"
done
for file in $(ls drpub*); do