We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d456d24 commit c765621Copy full SHA for c765621
1 file changed
rust/operator-binary/src/restart_controller/pod.rs
@@ -211,7 +211,7 @@ async fn report_result(
211
Error::EvictPod {
212
source: evict_pod_error,
213
},
214
- _,
+ pod,
215
)) = &result
216
{
217
const TOO_MANY_REQUESTS_HTTP_CODE: u16 = StatusCode::TOO_MANY_REQUESTS.as_u16();
@@ -221,9 +221,11 @@ async fn report_result(
221
}) = evict_pod_error
222
223
tracing::info!(
224
- ?evict_pod_error,
+ %pod,
225
+ error = %evict_pod_error,
226
"Tried to evict Pod, but wasn't allowed to do so, as it would violate the Pod's disruption budget. Retrying later"
227
);
228
+ return;
229
}
230
231
0 commit comments