You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/12/31 10:04:36 UTC

[airflow] branch main updated: Fix JSON formatting in cassandra example (#20605)

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

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 47b222f  Fix JSON formatting in cassandra example (#20605)
47b222f is described below

commit 47b222f5e12534d31687b82a4f4ca5afa5a687ab
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Fri Dec 31 11:00:18 2021 +0100

    Fix JSON formatting in cassandra example (#20605)
    
    New Sphinx highlighter does not like spaces in json after ':' and it
    fails main builds because of that.
---
 .../connections/cassandra.rst                                | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/apache-airflow-providers-apache-cassandra/connections/cassandra.rst b/docs/apache-airflow-providers-apache-cassandra/connections/cassandra.rst
index 521c918..946165b4 100644
--- a/docs/apache-airflow-providers-apache-cassandra/connections/cassandra.rst
+++ b/docs/apache-airflow-providers-apache-cassandra/connections/cassandra.rst
@@ -64,11 +64,11 @@ Examples for the **Extra** field
 
 If SSL is enabled in Cassandra, pass in a dict in the extra field as kwargs for ``ssl.wrap_socket()``. For example:
 
-.. code-block:: JSON
+.. code-block:: json
 
     {
-      "ssl_options" : {
-        "ca_certs" : "PATH/TO/CA_CERTS"
+      "ssl_options": {
+        "ca_certs": "PATH/TO/CA_CERTS"
       }
     }
 
@@ -78,7 +78,7 @@ Default load balancing policy is ``RoundRobinPolicy``. Following are a few sampl
 
 DCAwareRoundRobinPolicy:
 
-.. code-block:: JSON
+.. code-block:: json
 
     {
       "load_balancing_policy": "DCAwareRoundRobinPolicy",
@@ -90,7 +90,7 @@ DCAwareRoundRobinPolicy:
 
 WhiteListRoundRobinPolicy:
 
-.. code-block:: JSON
+.. code-block:: json
 
     {
       "load_balancing_policy": "WhiteListRoundRobinPolicy",
@@ -101,7 +101,7 @@ WhiteListRoundRobinPolicy:
 
 TokenAwarePolicy:
 
-.. code-block:: JSON
+.. code-block:: json
 
     {
       "load_balancing_policy": "TokenAwarePolicy",