undoing the previous commit

was unnecessary
This commit is contained in:
joeaba 2022-01-22 00:22:27 +05:30 committed by GitHub
parent e3915e4b7a
commit 252b0c42d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -11,13 +11,11 @@ netDir=$(
cd "$(dirname "${BASH_SOURCE[0]}")" || exit
echo "$PWD"
)
echo "netDir in net/common is : $netDir"
netConfigDir="$netDir"/config
mkdir -p "$netConfigDir"
SOLANA_ROOT="$netDir"/..
# shellcheck source=scripts/configure-metrics.sh
echo "SOLANA_ROOT in net/common is : $SOLANA_ROOT"
source "$SOLANA_ROOT"/scripts/configure-metrics.sh
configFile="$netConfigDir/config"
@ -60,7 +58,6 @@ loadConfigFile() {
# shellcheck source=/dev/null
source "$configFile"
cat "$configFile"
[[ -n "$publicNetwork" ]] || usage "Config file invalid, publicNetwork unspecified: $configFile"
[[ -n "$netBasename" ]] || usage "Config file invalid, netBasename unspecified: $configFile"
[[ -n $sshPrivateKey ]] || usage "Config file invalid, sshPrivateKey unspecified: $configFile"