From 50643b23e9398b80d4ef7cedaed5de27b2c9210a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20B=C3=BCchse?= Date: Wed, 13 Nov 2024 15:27:05 +0100 Subject: [PATCH] typos in create_pvc_pod MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matthias Büchse --- .../k8s-default-storage-class-check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/kaas/k8s-default-storage-class/k8s-default-storage-class-check.py b/Tests/kaas/k8s-default-storage-class/k8s-default-storage-class-check.py index 4240e6fdb..c42759c00 100755 --- a/Tests/kaas/k8s-default-storage-class/k8s-default-storage-class-check.py +++ b/Tests/kaas/k8s-default-storage-class/k8s-default-storage-class-check.py @@ -105,7 +105,7 @@ def create_pvc_pod( namespace, body_pvc ) - # 2. Create a pod which makes use of the PersitantVolumeClaim + # 2. Create a pod which makes use of the PersistantVolumeClaim logger.debug(f"create pod: {pod_name}") pod_vol = client.V1Volume( @@ -129,7 +129,7 @@ def create_pvc_pod( ) api_response = k8s_api_instance.create_namespaced_pod( - NAMESPACE, pod_body, _preload_content=False + namespace, pod_body, _preload_content=False, ) pod_info = json.loads(api_response.read().decode("utf-8")) pod_status = pod_info["status"]["phase"]