From 2a0fc7d9ba4103246454781b4eb309bd2f0ca986 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Mon, 4 Mar 2019 10:21:33 -0500 Subject: [PATCH] Add missing consistency param in docs for Cassandra in combined DB (#6330) --- website/source/api/secret/cassandra/index.html.md | 2 +- website/source/api/secret/databases/cassandra.html.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/website/source/api/secret/cassandra/index.html.md b/website/source/api/secret/cassandra/index.html.md index 8753472f8c..4e7fe291e9 100644 --- a/website/source/api/secret/cassandra/index.html.md +++ b/website/source/api/secret/cassandra/index.html.md @@ -65,7 +65,7 @@ Cassandra. - `consistency` `(string: "")` – Specifies the consistency option to use. See the [gocql - definition](https://github.com/gocql/gocql/blob/master/frame.go#L203) for + definition](https://github.com/gocql/gocql/blob/master/frame.go#L188) for valid options. TLS works as follows: diff --git a/website/source/api/secret/databases/cassandra.html.md b/website/source/api/secret/databases/cassandra.html.md index 1b8158fe56..70749aaf27 100644 --- a/website/source/api/secret/databases/cassandra.html.md +++ b/website/source/api/secret/databases/cassandra.html.md @@ -24,6 +24,7 @@ has a number of parameters to further configure a connection. | `POST` | `/database/config/:name` | `204 (empty body)` | ### Parameters + - `hosts` `(string: )` – Specifies a set of comma-delineated Cassandra hosts to connect to. @@ -59,6 +60,11 @@ has a number of parameters to further configure a connection. - `socket_keep_alive` `(string: "0s")` – the keep-alive period for an active network connection. If zero, keep-alives are not enabled. +- `consistency` `(string: "")` – Specifies the consistency option to use. See + the [gocql + definition](https://github.com/gocql/gocql/blob/master/frame.go#L188) for + valid options. + TLS works as follows: - If `tls` is set to true, the connection will use TLS; this happens