projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Feature 10948: Set labels to new namespaces
[osm/N2VC.git]
/
n2vc
/
k8s_helm_conn.py
diff --git
a/n2vc/k8s_helm_conn.py
b/n2vc/k8s_helm_conn.py
index
84879c8
..
bbe4c48
100644
(file)
--- a/
n2vc/k8s_helm_conn.py
+++ b/
n2vc/k8s_helm_conn.py
@@
-78,12
+78,9
@@
class K8sHelmConnector(K8sHelmBaseConnector):
else "--skip-repos",
)
try:
else "--skip-repos",
)
try:
- asyncio.
ensure_future
(
+ asyncio.
create_task
(
self._local_async_exec(command=command, raise_exception_on_error=False)
)
self._local_async_exec(command=command, raise_exception_on_error=False)
)
- # loop = asyncio.get_event_loop()
- # loop.run_until_complete(self._local_async_exec(command=command,
- # raise_exception_on_error=False))
except Exception as e:
self.warning(
msg="helm init failed (it was already initialized): {}".format(e)
except Exception as e:
self.warning(
msg="helm init failed (it was already initialized): {}".format(e)