From c7bd0fa9657b8978ab78fba5508c6eb74c17a00b Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Sat, 2 Sep 2023 12:19:33 +0200 Subject: [PATCH] Try again --- templates/script/multinodeannounce.erb.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/script/multinodeannounce.erb.sh b/templates/script/multinodeannounce.erb.sh index b85c4d5..a11b1ef 100755 --- a/templates/script/multinodeannounce.erb.sh +++ b/templates/script/multinodeannounce.erb.sh @@ -73,9 +73,9 @@ curl_cmd(){ curl -X "${method}" -u "admin:${admin_app_password}" "${payload[@]}" -H 'OCS-APIRequest: true' "https://${customer}.${domain}/ocs/v2.php/apps/announcementcenter/api/v1/announcements${id}" } -#<%- index = 0 -%> +#<%- index = 0 %> #<%- @multinodes.each do |customer| %> curl_cmd "<%= @multinode_passwords[index] %>" "<%= customer %>" "${method}" "${argument}" -#<%- index += 1 -%> +#<%- index += 1 %> #<%- end %>