This repository was archived by the owner on Jul 30, 2021. It is now read-only.
Commit 57674db
Yifan Gu
checkpoint: Fix garbage collection bug.
The apiParentPods is always non-nil, so we should test the length
instead of the nil pointer. Besides, testing the length will work
for nil pointer as well.1 parent 91b66bd commit 57674db
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| |||
0 commit comments