From ade85d32337bddcfac8b260fc45820f38332e3dc Mon Sep 17 00:00:00 2001
From: Vitaliy Lotorev <lotorev@gmail.com>
Date: Thu, 24 Dec 2020 01:49:54 +0300
Subject: [PATCH] Use braces for 'file' var in download-logs.sh

Currenlty braces are printed in logs. Most probabrly braces were
meant for variable expansion.

Change-Id: Id5a8c89bb4118840f9938f01ab2f42eceece429d
---
 roles/local-log-download/templates/download-logs.sh.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/local-log-download/templates/download-logs.sh.j2 b/roles/local-log-download/templates/download-logs.sh.j2
index 53f124455..fb49fc395 100644
--- a/roles/local-log-download/templates/download-logs.sh.j2
+++ b/roles/local-log-download/templates/download-logs.sh.j2
@@ -76,7 +76,7 @@ function save_file {
     fi
     curl -s ${xtra_args} --create-dirs -o "${file}" "${base_url}${file}" || exit_code=$?
     if [[ $exit_code -ne 0 ]]; then
-        log "Failed to download ${base_url}{$file}; skipping"
+        log "Failed to download ${base_url}${file}; skipping"
     fi
    {#
     # Using --compressed we will send an Accept-Encoding: gzip header