Skip to content

Commit 72c0708

Browse files
committed
checked convoluted exit
Signed-off-by: Katharina Trentau <[email protected]>
1 parent 33d114b commit 72c0708

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Tests/kaas/k8s-default-storage-class/k8s-default-storage-class-check.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -307,18 +307,6 @@ def main(argv):
307307
logger.critical("You need to have OS_CLOUD set or pass --kubeconfig=CLOUD.")
308308
return 2
309309

310-
# Setup kubernetes client
311-
# return_code = 0
312-
# return_message = "return_message: FAILED"
313-
# try:
314-
# logger.debug("setup_k8s_client(kubeconfig)")
315-
# k8s_core_api, k8s_storage_api = setup_k8s_client(kubeconfig)
316-
# except Exception as exception_message:
317-
# logger.info(f"L{inspect.currentframe().f_lineno} {exception_message}")
318-
# return_message = f"{exception_message}"
319-
# return_code = 1
320-
321-
# with TestEnvironment(k8s_core_api, return_code, return_message) as env:
322310
with TestEnvironment(kubeconfig) as env:
323311
# Check if default storage class is defined (MANDATORY)
324312
k8s_core_api = env.k8s_core_api

0 commit comments

Comments
 (0)