Validator/replicator metrics host id is no longer set by bash (#5755)

automerge
This commit is contained in:
Michael Vines
2019-08-30 15:33:30 -07:00
committed by Grimes
parent 643d0b0868
commit 6089c8030b
8 changed files with 47 additions and 40 deletions

View File

@ -277,21 +277,6 @@ while true; do
[[ -r "$storage_keypair_path" ]] || $solana_keygen new -o "$storage_keypair_path"
setup_validator_accounts "$node_lamports"
vote_pubkey=$($solana_keygen pubkey "$voting_keypair_path")
storage_pubkey=$($solana_keygen pubkey "$storage_keypair_path")
identity_pubkey=$($solana_keygen pubkey "$identity_keypair_path")
export SOLANA_METRICS_HOST_ID="$identity_pubkey"
cat <<EOF
======================[ validator configuration ]======================
identity pubkey: $identity_pubkey
vote pubkey: $vote_pubkey
storage pubkey: $storage_pubkey
ledger: $ledger_dir
========================================================================
EOF
echo "$PS4$program ${args[*]}"
$program "${args[@]}" &