diff options
author | figsoda <figsoda@pm.me> | 2022-11-30 17:32:53 -0500 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2022-11-30 17:32:53 -0500 |
commit | 025142b808b4511f1ef31a2b553b733b8444ddb7 (patch) | |
tree | 47146a91bbbd8b611c1a97607bcedc0f71573b60 /nixos | |
parent | 1b9b057d9248539e20c25609edc690d457d42b4e (diff) |
nixos/hbase: remove unnecessary parenthesis
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/cluster/hadoop/hbase.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/cluster/hadoop/hbase.nix b/nixos/modules/services/cluster/hadoop/hbase.nix index 237a1d428fe2..97951ebfe334 100644 --- a/nixos/modules/services/cluster/hadoop/hbase.nix +++ b/nixos/modules/services/cluster/hadoop/hbase.nix @@ -141,9 +141,9 @@ in services.hadoop.hbaseSiteInternal."hbase.rootdir" = cfg.hbase.rootdir; - networking.firewall.allowedTCPPorts = (mkIf cfg.hbase.master.openFirewall [ + networking.firewall.allowedTCPPorts = mkIf cfg.hbase.master.openFirewall [ 16000 16010 - ]); + ]; }) @@ -168,9 +168,9 @@ in services.hadoop.hbaseSiteInternal."hbase.rootdir" = cfg.hbase.rootdir; networking = { - firewall.allowedTCPPorts = (mkIf cfg.hbase.regionServer.openFirewall [ + firewall.allowedTCPPorts = mkIf cfg.hbase.regionServer.openFirewall [ 16020 16030 - ]); + ]; hosts = mkIf cfg.hbase.regionServer.overrideHosts { "127.0.0.2" = mkForce [ ]; "::1" = mkForce [ ]; |