Skip to content

Commit fe852c8

Browse files
committed
Improve "fetch-spec" script.
To cleanup "netbox-docker" when fetch is completed.
1 parent c7e4dcb commit fe852c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/fetch-spec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ while ! curl --silent http://localhost:8000/api/docs/?format=openapi > api/opena
2525
sleep 1
2626
done
2727

28-
docker compose --project-directory="${REPO_DIR}" down
28+
docker compose --project-directory="${REPO_DIR}" down --volumes
2929

3030
rm -rf "${REPO_DIR}"

0 commit comments

Comments
 (0)