Only prune docker when specified

This should make the testing cycle faster for some users by keeping
images around for reuse.

Change-Id: Ib7eb12f2f3835a5eb1c1b981d9e86e1b2fe79561
This commit is contained in:
Mark Burnett 2018-06-21 15:19:05 -05:00
parent 8fee9322ab
commit ad765db2c3
1 changed files with 1 additions and 1 deletions

View File

@ -127,11 +127,11 @@ fi
stop_kubelet
remove_containers
remove_files
prune_docker
systemctl daemon-reload
if [[ $RESET_DOCKER == "1" ]]; then
prune_docker
reset_docker
fi