Merge pull request #3070 from sergeyhush/allow-custom-fdb-cluster-file

Allow custom fdb.cluster file content
This commit is contained in:
John Brownlee 2020-05-01 15:55:44 -07:00 committed by GitHub
commit 7c36301d7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ function create_server_environment() {
fi
echo "export PUBLIC_IP=$public_ip" >> $env_file
if [[ -z $FDB_COORDINATOR ]]; then
if [[ -z $FDB_COORDINATOR && -z "$FDB_CLUSTER_FILE_CONTENTS" ]]; then
FDB_CLUSTER_FILE_CONTENTS="docker:docker@$public_ip:$FDB_PORT"
fi