Do not insert deletion marker if there is no object to delete

This commit is contained in:
Alex Auvolat
2020-04-21 14:33:12 +00:00
parent be0a2bae81
commit 0226561035
2 changed files with 29 additions and 8 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/bash
for FILE in $(find target/debug/deps); do
curl -v localhost:3900/$FILE -X DELETE -H 'Host: garage'
for FILE in $(find target); do
curl localhost:3900/$FILE -X DELETE -H 'Host: garage'
done