undoing the changes for the traceability (#22642)

This commit is contained in:
joeaba 2022-01-22 23:27:13 +11:00 committed by GitHub
parent 091929da12
commit 1ee6707bdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -58,14 +58,12 @@ if $useEnv; then
usage "SOLANA_METRICS_CONFIG is not defined in the environment"
else
username=$1
echo "username innet/init-metrics is : $username"
[[ -n "$username" ]] || usage "username not specified"
read -rs -p "InfluxDB password for $username: " password
[[ -n $password ]] || { echo "Password not specified"; exit 1; }
echo
echo "password is : $password"
password="$(urlencode "$password")"
if ! $createWithoutConfig; then
@ -80,9 +78,6 @@ else
--data-urlencode "q=$*"
}
echo "username innet/init-metrics is : $username"
echo "password is : $password"
echo "netBasename is : $netBasename"
query "DROP DATABASE \"$netBasename\""
! $delete || exit 0
query "CREATE DATABASE \"$netBasename\""