Skip to content

Commit

Permalink
Fixes #14992: File download technique generates error report on permi…
Browse files Browse the repository at this point in the history
…ssions
  • Loading branch information
amousset committed May 29, 2019
1 parent 1470536 commit b3be32d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions techniques/fileDistribution/downloadFile/4.0/downloadFile.st
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ bundle agent execute_file_download_RudderUniqueID
"${destination[${index}]}"
pathtype => "literal", # force literal interpretation
perms => mog("${mode[${index}]}","${user[${index}]}","${group[${index}]}"),
classes => rudder_common_classes("file_download_perms_${index}_RudderUniqueID");
classes => classes_generic("file_download_perms_${index}_RudderUniqueID");

methods:
# File downloading part
Expand Down Expand Up @@ -101,7 +101,7 @@ bundle agent execute_file_download_RudderUniqueID
commands:
"${download_command[${index}]}"
comment => "Getting the file from the server",
classes => rudder_common_classes("file_download_${index}_RudderUniqueID"),
classes => classes_generic("file_download_${index}_RudderUniqueID"),
ifvarclass => "file_not_found_${index}";

}

0 comments on commit b3be32d

Please sign in to comment.