summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Shatov <alexs@att.com>2018-02-23 14:29:38 -0500
committerAlex Shatov <alexs@att.com>2018-02-23 14:29:38 -0500
commitec244fb888c49beb3a8d24d3fc1b660ff144c4b3 (patch)
tree61699c1e029293af10cd39528baef1cac9b75eca
parentb7c2ad68730bb75c3e468f94269d27160c50f2e5 (diff)
fixed a bug in policy-get plugin
- do not raise an exception on not being able to bring policies Change-Id: I39dda5492903c5b25f4a8b46d96d27a5b8ee1547 Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-347
-rw-r--r--dcae-policy/dcaepolicyplugin/tasks.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/dcae-policy/dcaepolicyplugin/tasks.py b/dcae-policy/dcaepolicyplugin/tasks.py
index 7261835..455b41b 100644
--- a/dcae-policy/dcaepolicyplugin/tasks.py
+++ b/dcae-policy/dcaepolicyplugin/tasks.py
@@ -172,7 +172,6 @@ def _policies_find():
except Exception as ex:
error = "failed to find policies: {0}".format(str(ex))
ctx.logger.error("{0}: {1}".format(error, traceback.format_exc()))
- raise NonRecoverableError(error)
return True