projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix 1040 report error on failing delete_namespace
[osm/N2VC.git]
/
n2vc
/
k8s_helm_conn.py
diff --git
a/n2vc/k8s_helm_conn.py
b/n2vc/k8s_helm_conn.py
index
ff1f331
..
1efacc4
100644
(file)
--- a/
n2vc/k8s_helm_conn.py
+++ b/
n2vc/k8s_helm_conn.py
@@
-1200,13
+1200,13
@@
class K8sHelmConnector(K8sConnector):
return '', -1
def _check_file_exists(self, filename: str, exception_if_not_exists: bool = False):
return '', -1
def _check_file_exists(self, filename: str, exception_if_not_exists: bool = False):
- self.log.debug('Checking if file {} exists...'.format(filename))
+
#
self.log.debug('Checking if file {} exists...'.format(filename))
if os.path.exists(filename):
return True
else:
msg = 'File {} does not exist'.format(filename)
if exception_if_not_exists:
if os.path.exists(filename):
return True
else:
msg = 'File {} does not exist'.format(filename)
if exception_if_not_exists:
- self.log.error(msg)
+
#
self.log.error(msg)
raise K8sException(msg)
raise K8sException(msg)