Skip to content
Snippets Groups Projects
Unverified Commit f78a5e95 authored by Javier Viola's avatar Javier Viola Committed by GitHub
Browse files

fix(orchestrator): remove workaround on temp nodes (#177)

- Remove workaround on temp  node issues. (fixed in wrapper).
parent df5045e6
Branches
No related merge requests found
Pipeline #449373 passed with stage
in 15 minutes and 5 seconds
......@@ -232,15 +232,6 @@ impl KubernetesClient {
where
S: Into<String> + std::fmt::Debug + Send,
{
let _pod = Api::<Pod>::namespaced(self.inner.clone(), namespace)
.get(name)
.await
.map_err(|err| {
Error::from(anyhow!(
"error while trying to exec in the pod {name}, can't find it: {err}"
))
})?;
let mut process = Api::<Pod>::namespaced(self.inner.clone(), namespace)
.exec(
name,
......
......@@ -3,7 +3,6 @@ use std::{
env,
path::PathBuf,
sync::{Arc, Weak},
time::Duration,
};
use anyhow::anyhow;
......@@ -381,10 +380,6 @@ where
)
.await?;
debug!("temp ready!");
trace!("adding 500ms sleep as workaround!");
tokio::time::sleep(Duration::from_millis(500)).await;
for GenerateFileCommand {
program,
args,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment