21678: Removes unused variables and trailing whitespaces. 21678-installer-diagnostics-internal
authorLucas Di Pentima <lucas.dipentima@curii.com>
Mon, 13 May 2024 19:40:48 +0000 (16:40 -0300)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Mon, 13 May 2024 19:40:48 +0000 (16:40 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

tools/salt-install/installer.sh

index e97917d3330c47b3a6e5da29d07b0298ae7e88f8..36e87cca91f1e774cc20193409815cc58f5f4c9a 100755 (executable)
@@ -458,9 +458,6 @@ diagnostics-internal)
     exit 1
   fi
 
-  export ARVADOS_API_HOST="${DOMAIN}:${CONTROLLER_EXT_SSL_PORT}"
-  export ARVADOS_API_TOKEN="$SYSTEM_ROOT_TOKEN"
-
   # Pick the first shell node for test running
   declare TESTNODE=$(echo ${ROLE2NODES['shell']} | cut -d\, -f1)
   declare SSH=$(ssh_cmd "$TESTNODE")
@@ -468,8 +465,8 @@ diagnostics-internal)
   # Run diagnostics
   echo "Running diagnostics in $TESTNODE..."
   $SSH $DEPLOY_USER@$TESTNODE bash <<EOF
-  export ARVADOS_API_HOST="${DOMAIN}:${CONTROLLER_EXT_SSL_PORT}" 
-  export ARVADOS_API_TOKEN="$SYSTEM_ROOT_TOKEN" 
+  export ARVADOS_API_HOST="${DOMAIN}:${CONTROLLER_EXT_SSL_PORT}"
+  export ARVADOS_API_TOKEN="$SYSTEM_ROOT_TOKEN"
   sudo --preserve-env=ARVADOS_API_HOST,ARVADOS_API_TOKEN arvados-client diagnostics -internal-client
 EOF