diff options
author | Venkata Harish K Kajur <vk250x@att.com> | 2017-11-02 15:43:17 -0400 |
---|---|---|
committer | Venkata Harish K Kajur <vk250x@att.com> | 2017-11-02 15:43:52 -0400 |
commit | 9c56108ad5b0ae3a78143443914a0b7da1aa810d (patch) | |
tree | c7cc2c0ff1584a1f5bd0d6614b9d9898644f8f88 | |
parent | f7dc0ae9ea1818c4285f454a35a323310a72a6bc (diff) |
Fix the aaicron job to make sure resources is up
Issue-ID: AAI-447
Change-Id: I80876ddfd88c70e7cdf79bd81762f620439667ca
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rw-r--r-- | aaicron.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,6 +2,6 @@ RESOURCES_COUNT=$(docker ps | grep 'testconfig_aai-resources.api.simpledemo.openecomp.org_1' | wc -l); -if [ ${RESOURCES_COUNT} -eq 0 ]; then +if [ ${RESOURCES_COUNT} -eq 1 ]; then docker exec -u aaiadmin testconfig_aai-resources.api.simpledemo.openecomp.org_1 /opt/app/aai-resources/bin/dataSnapshot.sh >> /var/log/aaicron.log 2>&1 fi; |