mirror of
https://github.com/corda/corda.git
synced 2025-02-26 03:18:57 +00:00
fix log
This commit is contained in:
parent
4a70ca0510
commit
4233353703
@ -170,10 +170,10 @@ public class KubesTest extends DefaultTask {
|
|||||||
// remove pod if exists
|
// remove pod if exists
|
||||||
PodResource<Pod, DoneablePod> oldPod = client.pods().inNamespace(namespace).withName(podName);
|
PodResource<Pod, DoneablePod> oldPod = client.pods().inNamespace(namespace).withName(podName);
|
||||||
if (oldPod.get() != null) {
|
if (oldPod.get() != null) {
|
||||||
getLogger().lifecycle("deleting pod: $podName");
|
getLogger().lifecycle("deleting pod: {}", podName);
|
||||||
oldPod.delete();
|
oldPod.delete();
|
||||||
while (oldPod.get() != null) {
|
while (oldPod.get() != null) {
|
||||||
getLogger().info("waiting for pod $podName to be removed");
|
getLogger().info("waiting for pod {} to be removed", podName);
|
||||||
Thread.sleep(1000);
|
Thread.sleep(1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user