Fix flake8, black and pylint errors in code
Change-Id: Ic03f4d31e2ba9801be20d3679bd5749948cab39d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/osm_ee/util/util_kubernetes.py b/osm_ee/util/util_kubernetes.py
index a02334e..96ad587 100644
--- a/osm_ee/util/util_kubernetes.py
+++ b/osm_ee/util/util_kubernetes.py
@@ -10,7 +10,9 @@
# we are not running in kubernetes
return {}
# Read the namespace from the service account
- current_namespace = open("/var/run/secrets/kubernetes.io/serviceaccount/namespace").read()
+ current_namespace = open(
+ "/var/run/secrets/kubernetes.io/serviceaccount/namespace"
+ ).read()
v1 = client.CoreV1Api()
try: