Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit 499beeb

Browse files
committed
Merge branch 'price-display' into 'master'
Indicate that we show hourly price See merge request postgres-ai-team/nancy!192
2 parents 24df381 + 9e6803e commit 499beeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nancy_run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -723,10 +723,10 @@ function determine_history_ec2_spot_price() {
723723
price="${price/\"/}"
724724
AWS_ZONE=${region:$((${#region}-1)):1}
725725
AWS_REGION=${region:0:$((${#region}-1))}
726-
msg "Min price from history: $price in $AWS_REGION (zone: $AWS_ZONE)."
726+
msg "Min price from history: ${price}/h in $AWS_REGION (zone: $AWS_ZONE)."
727727
multiplier="1.01"
728728
price=$(echo "$price * $multiplier" | bc -l)
729-
msg "Increased price: $price"
729+
msg "Increased price: ${price}/h"
730730
EC2_PRICE=$price
731731
}
732732

0 commit comments

Comments
 (0)