summaryrefslogtreecommitdiffstats
path: root/k8s/k8splugin/decorators.py
diff options
context:
space:
mode:
authorJack Lucas <jflucas@research.att.com>2018-07-25 20:33:50 +0000
committerJack Lucas <jflucas@research.att.com>2018-07-25 20:34:34 +0000
commit03ac66c04143f712378a92ef258253b8ce6b1e8b (patch)
tree3fd27e57217ece214b1e602cfd046cbacb099c9e /k8s/k8splugin/decorators.py
parent926eb8c21979a6972838dae8e9de29903d1b26f1 (diff)
Add policy update notification support
Use k8s terminology instead of Docker terminology Remove some redundant logging Change-Id: Ic8e581ebde9ea062a7d0e145465425eec1db57c3 Issue-ID: DCAEGEN2-504 Signed-off-by: Jack Lucas <jflucas@research.att.com>
Diffstat (limited to 'k8s/k8splugin/decorators.py')
-rw-r--r--k8s/k8splugin/decorators.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/k8s/k8splugin/decorators.py b/k8s/k8splugin/decorators.py
index 59d14d8..b9b32bf 100644
--- a/k8s/k8splugin/decorators.py
+++ b/k8s/k8splugin/decorators.py
@@ -19,12 +19,14 @@
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
import copy
+
from cloudify import ctx
from cloudify.exceptions import NonRecoverableError, RecoverableError
+
from k8splugin import discovery as dis
-from k8splugin.exceptions import DockerPluginDeploymentError, \
- DockerPluginDependencyNotReadyError
from k8splugin import utils
+from k8splugin.exceptions import (DockerPluginDependencyNotReadyError,
+ DockerPluginDeploymentError)
def monkeypatch_loggers(task_func):
@@ -111,4 +113,4 @@ def wrap_error_handling_update(update_func):
ctx.logger.error ("Unexpected error during update operation: {0}".format(str(e)))
raise NonRecoverableError(e)
- return wrapper \ No newline at end of file
+ return wrapper