Skip to content

Commit

Permalink
Improve "fetch-spec" script.
Browse files Browse the repository at this point in the history
To cleanup "netbox-docker" when fetch is completed.
  • Loading branch information
v0ctor committed Feb 25, 2023
1 parent c7e4dcb commit fe852c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fetch-spec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ while ! curl --silent http://localhost:8000/api/docs/?format=openapi > api/opena
sleep 1
done

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

rm -rf "${REPO_DIR}"

0 comments on commit fe852c8

Please sign in to comment.