Commit 74f21ec
committed
fix: clear policy directory contents instead of removing mount point
shutil.rmtree on the storage directory fails with EBUSY in Docker
because the bind-mounted directory is an active mount point. Delete
the children individually so the operation works in both Docker and
localhost environments.
Made-with: Cursor1 parent a41054b commit 74f21ec
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
237 | 241 | | |
238 | 242 | | |
239 | 243 | | |
| |||
0 commit comments