chriswiggins closed pull request #45: Change nodename to be node1@<nodename> to 
be in line with cluster wizard
URL: https://github.com/apache/couchdb-docker/pull/45
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/2.1.1/docker-entrypoint.sh b/2.1.1/docker-entrypoint.sh
index dda823d..b1387eb 100755
--- a/2.1.1/docker-entrypoint.sh
+++ b/2.1.1/docker-entrypoint.sh
@@ -34,8 +34,8 @@ if [ "$1" = '/opt/couchdb/bin/couchdb' ]; then
        chmod 664 /opt/couchdb/etc/local.d/*.ini
        chmod 775 /opt/couchdb/etc/*.d
 
-       if [ ! -z "$NODENAME" ] && ! grep "couchdb@" /opt/couchdb/etc/vm.args; 
then
-               echo "-name couchdb@$NODENAME" >> /opt/couchdb/etc/vm.args
+       if [ ! -z "$NODENAME" ] && ! grep "node1@" /opt/couchdb/etc/vm.args; 
then
+               echo "-name node1@$NODENAME" >> /opt/couchdb/etc/vm.args
        fi
 
        if [ "$COUCHDB_USER" ] && [ "$COUCHDB_PASSWORD" ]; then


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to