summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-04-29 08:43:58 +0200
committerRobert Hensing <robert@roberthensing.nl>2021-04-29 08:43:58 +0200
commit6ad6271d827908d50661d7a1bf82d3e0e4ef476d (patch)
treecf9b30c647866ff7c324047850567c81132cabe5
parent726669ace8a2e13d4211da4a2adfa9ee5f9d9f38 (diff)
downloadnixpkgs-6ad6271d827908d50661d7a1bf82d3e0e4ef476d.tar
nixpkgs-6ad6271d827908d50661d7a1bf82d3e0e4ef476d.tar.gz
nixpkgs-6ad6271d827908d50661d7a1bf82d3e0e4ef476d.tar.bz2
nixpkgs-6ad6271d827908d50661d7a1bf82d3e0e4ef476d.tar.lz
nixpkgs-6ad6271d827908d50661d7a1bf82d3e0e4ef476d.tar.xz
nixpkgs-6ad6271d827908d50661d7a1bf82d3e0e4ef476d.tar.zst
nixpkgs-6ad6271d827908d50661d7a1bf82d3e0e4ef476d.zip
nixos/cassandra: remove unnecessary literalExample calls
-rw-r--r--nixos/modules/services/databases/cassandra.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/databases/cassandra.nix b/nixos/modules/services/databases/cassandra.nix
index ebb50ddf50b..525b51afa21 100644
--- a/nixos/modules/services/databases/cassandra.nix
+++ b/nixos/modules/services/databases/cassandra.nix
@@ -154,7 +154,7 @@ in
     listenAddress = mkOption {
       type = types.nullOr types.str;
       default = "127.0.0.1";
-      example = literalExample "null";
+      example = null;
       description = ''
         Address or interface to bind to and tell other Cassandra nodes
         to connect to. You _must_ change this if you want multiple
@@ -186,7 +186,7 @@ in
     rpcAddress = mkOption {
       type = types.nullOr types.str;
       default = "127.0.0.1";
-      example = literalExample "null";
+      example = null;
       description = ''
         The address or interface to bind the native transport server to.
 
@@ -285,7 +285,7 @@ in
     fullRepairInterval = mkOption {
       type = types.nullOr types.str;
       default = "3w";
-      example = literalExample "null";
+      example = null;
       description = ''
         Set the interval how often full repairs are run, i.e.
         <literal>nodetool repair --full</literal> is executed. See
@@ -308,7 +308,7 @@ in
     incrementalRepairInterval = mkOption {
       type = types.nullOr types.str;
       default = "3d";
-      example = literalExample "null";
+      example = null;
       description = ''
         Set the interval how often incremental repairs are run, i.e.
         <literal>nodetool repair</literal> is executed. See