Skip to content

Commit

Permalink
makes runtimeIds lowercase and removes not needed filename print
Browse files Browse the repository at this point in the history
  • Loading branch information
Disper committed Nov 27, 2023
1 parent 5c0d0d0 commit 622146f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hack/benchmark/benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ _count=$1
_secret_template_path=$2

function generate_data {
jq -nR --arg _count $_count '[range(0;($_count|tonumber)) | input]' < <(while true; do uuidgen ; done)
jq -nR --arg _count $_count '[range(0;($_count|tonumber)) | input]' < <(while true; do uuidgen | awk '{print tolower($0)}' ; done)
}

function create_secrets {
Expand All @@ -13,5 +13,4 @@ function create_secrets {

datetime_postfix=$(date -u +%Y-%m-%dT%H:%M:%S)
input_filename="/tmp/input_"$datetime_postfix".json"
echo $input_filename
generate_data $1 $2 | tee $input_filename | create_secrets

0 comments on commit 622146f

Please sign in to comment.