mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-09 08:53:13 +00:00
reverse disable pod ip
This commit is contained in:
parent
8d50c008b8
commit
76ea98e783
@ -747,7 +747,7 @@ namespace KubernetesWorkflow
|
||||
}
|
||||
var pod = pods[0];
|
||||
if (pod.Status == null) throw new Exception("Pod status unknown");
|
||||
//if (string.IsNullOrEmpty(pod.Status.PodIP)) throw new Exception("Pod IP unknown");
|
||||
if (string.IsNullOrEmpty(pod.Status.PodIP)) throw new Exception("Pod IP unknown");
|
||||
return pod;
|
||||
}
|
||||
|
||||
@ -977,7 +977,7 @@ namespace KubernetesWorkflow
|
||||
private PodInfo CreatePodInfo(V1Pod pod)
|
||||
{
|
||||
var name = pod.Name();
|
||||
var ip = "disabled"; // pod.Status.PodIP;
|
||||
var ip = pod.Status.PodIP;
|
||||
var k8sNodeName = pod.Spec.NodeName;
|
||||
|
||||
if (string.IsNullOrEmpty(name)) throw new InvalidOperationException("Invalid pod name received. Test infra failure.");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user