You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2022/07/20 18:00:03 UTC

[couchdb] branch dev-run-fix-haproxy-cfg created (now 414445b45)

This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a change to branch dev-run-fix-haproxy-cfg
in repository https://gitbox.apache.org/repos/asf/couchdb.git


      at 414445b45 make haproxy config valid again

This branch includes the following new commits:

     new 414445b45 make haproxy config valid again

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb] 01/01: make haproxy config valid again

Posted by rn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a commit to branch dev-run-fix-haproxy-cfg
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 414445b455fd72d10b389d1c8dce7068a0721a13
Author: Robert Newson <rn...@apache.org>
AuthorDate: Wed Jul 20 18:59:11 2022 +0100

    make haproxy config valid again
    
    recent versions of haproxy attempt to discover truncated configs
    by insisting on a final blank line.
---
 dev/run | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev/run b/dev/run
index e030967e3..f87786058 100755
--- a/dev/run
+++ b/dev/run
@@ -351,6 +351,7 @@ def generate_haproxy_config(ctx):
 
     with open(haproxy_config, "w") as handle:
         handle.write("\n".join(out))
+        handle.write("\n")
 
 
 def apply_config_overrides(ctx, content):