diff options
author | Lin Jian <me@linj.tech> | 2023-08-08 20:45:53 +0800 |
---|---|---|
committer | Lin Jian <me@linj.tech> | 2023-08-08 21:31:21 +0800 |
commit | 74fadae9421bf39b740c5c6a5fe26e7667627840 (patch) | |
tree | 0c20a27434937e7feb8176f969ee1227bdfe245b /nixos/modules/services/cluster | |
parent | 4e6868b1aa3766ab1de169922bb3826143941973 (diff) | |
download | nixpkgs-74fadae9421bf39b740c5c6a5fe26e7667627840.tar nixpkgs-74fadae9421bf39b740c5c6a5fe26e7667627840.tar.gz nixpkgs-74fadae9421bf39b740c5c6a5fe26e7667627840.tar.bz2 nixpkgs-74fadae9421bf39b740c5c6a5fe26e7667627840.tar.lz nixpkgs-74fadae9421bf39b740c5c6a5fe26e7667627840.tar.xz nixpkgs-74fadae9421bf39b740c5c6a5fe26e7667627840.tar.zst nixpkgs-74fadae9421bf39b740c5c6a5fe26e7667627840.zip |
treewide: stop using types.string
It is an error[1] now. [1]: https://github.com/NixOS/nixpkgs/pull/247848
Diffstat (limited to 'nixos/modules/services/cluster')
-rw-r--r-- | nixos/modules/services/cluster/patroni/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/cluster/patroni/default.nix b/nixos/modules/services/cluster/patroni/default.nix index 9bf3a285836..5ab016a9f59 100644 --- a/nixos/modules/services/cluster/patroni/default.nix +++ b/nixos/modules/services/cluster/patroni/default.nix @@ -105,7 +105,7 @@ in }; otherNodesIps = mkOption { - type = types.listOf types.string; + type = types.listOf types.str; example = [ "192.168.1.2" "192.168.1.3" ]; description = mdDoc '' IP addresses of the other nodes. |