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 a461ff0 commit d3e1427Copy full SHA for d3e1427
src/epsilon/server/instances/instance_provider.rs
@@ -71,7 +71,12 @@ impl InstanceProvider {
71
let condition = await_condition(
72
self.epsilon_controller.get_epsilon_instance_api().clone(),
73
instance.metadata.name.as_ref().unwrap(),
74
- move |instance: Option<&EpsilonInstance>| instance.is_some(),
+ move |object: Option<&EpsilonInstance>| {
75
+ if let Some(instance) = object {
76
+ return instance.status.is_some();
77
+ }
78
+ false
79
+ },
80
);
81
82
let _ = tokio::time::timeout(std::time::Duration::from_secs(3), condition).await?;
0 commit comments