Verified Commit 5bb75df7 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

log when client successfully created

parent 8efd5d8f
Pipeline #31684 passed with stages
in 11 minutes and 55 seconds
......@@ -159,6 +159,8 @@ async fn main() -> Result<()> {
if let Err(e) = client {
error!("{}", e);
bail!("Abort");
} else {
info!("Client ok")
}
let pods: Api<Pod> = Api::namespaced(client.unwrap(), namespace);
......@@ -172,7 +174,7 @@ async fn main() -> Result<()> {
pod.metadata.name.expect("No pod name available")
);
}
debug!("Sleeping for {} minute/s", update_interval);
std::thread::sleep(Duration::from_secs(update_interval * 60));
//debug!("Sleeping for {} minute/s", update_interval);
// std::thread::sleep(Duration::from_secs(update_interval * 60));
}
}
Markdown is supported
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