Skip to content

Commit

Permalink
fix axel error when action retried No state file, cannot resume
Browse files Browse the repository at this point in the history
  • Loading branch information
gaoyifan committed Aug 14, 2024
1 parent 08191ce commit 88fceff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ get_asn(){
}

prepare_data_v4(){
rm -f rib.gz
bgpkit-broker latest -c rrc00 --json | jq -c '.[] | select( .data_type | contains("rib")) | .url' | head -n 1 | xargs axel -q -o rib.gz
stat rib.gz
log_info "runing bgpdump v4 ..."
Expand All @@ -28,6 +29,7 @@ prepare_data_v4(){
log_info "finish bgpdump v4"
}
prepare_data_v6(){
rm -f rib6.gz
bgpkit-broker latest -c route-views6 --json | jq -c '.[] | select( .data_type | contains("rib")) | .url' | head -n 1 | xargs axel -q -o rib6.bz2
stat rib6.bz2
log_info "runing bgpdump v6 ..."
Expand Down

0 comments on commit 88fceff

Please sign in to comment.