Skip to content

Commit

Permalink
REview updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dvalinrh committed Aug 17, 2023
1 parent fee56e3 commit 31fcfbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/burden
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@ retrieve_spot_from_config()
#
# For AWS obtain the possible starting price.
#
worker=`aws ec2 describe-spot-price-history --start-time=$(date +%s) --product-descriptions="Linux/UNIX" --query 'SpotPriceHistory[*].{az:AvailabilityZone, price:SpotPrice}' --instance-types $host_or_cloud_inst | tail -1 | awk '{ print $2}'`
worker=`aws ec2 describe-spot-price-history --start-time=$(date +%s) --product-descriptions="Linux/UNIX" --query 'SpotPriceHistory[*].{az:AvailabilityZone, price:SpotPrice}' --instance-types $host_or_cloud_inst | tail -1 | awk '{ print $2 }'`
if [[ $? -ne 0 ]]; then
cleanup_and_exit "Error: unable to retrieve spot info for $1" 1
fi
Expand Down Expand Up @@ -4021,7 +4021,7 @@ pushd ${gl_run_prefix}/${gl_os_vendor}/${gl_system_type} > /dev/null
for i in `ls -d *`; do
if [ -f $i/spot_failure ]; then
rm $i/spot_failure
echo $i has spot failure running again with out spot
echo $i has spot failure running again without spot
next_one=0
for data in `cat $i/exec_command`; do
if [ $next_one -eq 1 ]; then
Expand Down

0 comments on commit 31fcfbd

Please sign in to comment.