We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6f1619 commit c67154aCopy full SHA for c67154a
src/warnet/k8s.py
@@ -24,7 +24,11 @@ def get_dynamic_client() -> DynamicClient:
24
25
def get_pods() -> V1PodList:
26
sclient = get_static_client()
27
- return sclient.list_namespaced_pod(get_default_namespace())
+ try:
28
+ pod_list: V1PodList = sclient.list_namespaced_pod(get_default_namespace())
29
+ except Exception as e:
30
+ raise e
31
+ return pod_list
32
33
34
def get_mission(mission: str) -> list[V1PodList]:
0 commit comments