fix condition to exclude the metrics servers (#31000)

This commit is contained in:
joeaba 2023-03-31 08:25:26 -05:00 committed by GitHub
parent eedb92a6c0
commit 24f81beb6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ source ci/env.sh
#
(
containers=$(docker ps -q)
if [[ $(hostname) != metrics-solana-com && -n $containers ]]; then
if [[ $(hostname) != metrics-main && $(hostname) != metrics-internal && -n $containers ]]; then
echo "+++ Killing stale docker containers"
docker ps