From 4673a031fe373530815ed1096684f12807f340a5 Mon Sep 17 00:00:00 2001 From: Vipool Rathod Date: Tue, 11 Mar 2025 15:08:02 -0400 Subject: [PATCH] 1663: Fix backup optional_args --- templates/mysqlbackup.sh.epp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/mysqlbackup.sh.epp b/templates/mysqlbackup.sh.epp index 3111296c3..4c3f776d7 100644 --- a/templates/mysqlbackup.sh.epp +++ b/templates/mysqlbackup.sh.epp @@ -56,7 +56,7 @@ ADDITIONAL_OPTIONS="$ADDITIONAL_OPTIONS --skip-routines" <% } -%> <% } -%> -<%- if $optional_args and type($optional_args) =~ Type(Array) { -%> +<%- if $optional_args and type($optional_args) =~ Type[Array] { -%> <% $optional_args.each |$arg| { -%> ADDITIONAL_OPTIONS="$ADDITIONAL_OPTIONS <%= $arg %>" <%- } -%>