diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-03-23 15:57:52 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-03-23 15:57:52 +0100 |
commit | 9f5677dead330b25270e08e8c3c0c8b4afcf8498 (patch) | |
tree | d050252b9a14a78a2f19ca3cd4549c29713744f3 | |
parent | 083bbe2ce001f65e3b6bee3a0d7297e953fc80c4 (diff) |
added log_id as a hard-coded parameter
More consistent since the log_url is hard-coded.
-rwxr-xr-x | client/cmd/example.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/client/cmd/example.sh b/client/cmd/example.sh index 1d85a74..d790712 100755 --- a/client/cmd/example.sh +++ b/client/cmd/example.sh @@ -2,13 +2,12 @@ set -eu log_url=http://tlog-poc.system-transparency.org:4780/st/v1 - -ns="$1"; shift +log_id=AAG+ZW+UesWdMFytUGkp28csBcziomSB3U2vvkAW55MVZQ== tmpdir=$(mktemp -dt stfe.XXXXXXXX) cp $0 $tmpdir/ cd $tmpdir -commonargs="--log_id $ns --log_url $log_url" # --logtostderr -v 3 +commonargs="--log_id $log_id --log_url $log_url" # --logtostderr -v 3 pause="sleep 1" echo "arguments used:" |