Skip to content

Commit

Permalink
feat: optimize output
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSRem committed Jan 6, 2024
1 parent 66c4be9 commit 1536aa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker_address.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ progress() {
fi
progress_bar="${progress_bar}${mark}"
done
printf "Progress: ${progress_bar}\r"
printf "替换DOCKER_ADDRESS: ${progress_bar}\r"
ratio=$((ratio+1))
if [ "${ratio}" -gt "${length}" ] ; then
ratio=1
Expand All @@ -63,7 +63,7 @@ do
sleep 1;
done

INFO "执行替换DOCKER_ADDRESS............ "
INFO "执行替换DOCKER_ADDRESS "
start_time2=`date +%s`

do_sth &
Expand Down

0 comments on commit 1536aa6

Please sign in to comment.