Skip to content

Commit

Permalink
typos in create_pvc_pod
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Büchse <[email protected]>
  • Loading branch information
mbuechse committed Nov 13, 2024
1 parent fe7e58a commit 50643b2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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"]
Expand Down

0 comments on commit 50643b2

Please sign in to comment.