From 374d25d86fe25c03075970b0ef04e3d8fd3fff59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81lvarez?= <128592227+malvads@users.noreply.github.com> Date: Tue, 30 Apr 2024 10:31:20 +0100 Subject: [PATCH] Fix typos --- resources/recipes/prepare_system.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/recipes/prepare_system.rb b/resources/recipes/prepare_system.rb index 05158dbc..b28f4802 100644 --- a/resources/recipes/prepare_system.rb +++ b/resources/recipes/prepare_system.rb @@ -108,8 +108,8 @@ end #set druid realtime partition id (its needed in cluster mode for druid brokers) -if node["redborder"]["manager_per_services"]["druid_realtime"].include?(node.name) - node.default["redborder"]["druid"]["realtime"]["partition_num"] = node["redborder"]["manager_per_services"]["druid_realtime"].index(node.name) +if node["redborder"]["managers_per_services"]["druid-realtime"].include?(node.name) + node.default["redborder"]["druid"]["realtime"]["partition_num"] = node["redborder"]["managers_per_services"]["druid-realtime"].index(node.name) end #get an array of managers