We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ec6ad6 commit 34ffc0aCopy full SHA for 34ffc0a
src/pepr/istio/index.ts
@@ -47,8 +47,8 @@ When(a.Pod)
47
const shouldTerminate = pod.status.containerStatuses
48
// Ignore the istio-proxy container
49
.filter(c => c.name != "istio-proxy")
50
- // and if ALL are terminated AND have exit code 0, then shouldTerminate is true
51
- .every(c => c.state?.terminated && c.state.terminated.exitCode == 0);
+ // and if ALL are terminated then shouldTerminate is true
+ .every(c => c.state?.terminated);
52
53
if (shouldTerminate) {
54
// Mark the pod as seen
0 commit comments