Skip to content

Commit

Permalink
Fixes #14605: Unexpected reports in Variable from JSON file(dict) whe…
Browse files Browse the repository at this point in the history
…n the json file is not present
  • Loading branch information
Fdall committed Jun 3, 2019
1 parent b3be32d commit 8c4463b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ bundle agent variable_from_json_file_RudderUniqueID
"any" usebundle => rudder_common_report_index("variableFromJsonFile", "result_success", "${trackingkey[${files_index}]}", "Base file", "${json_file[${files_index}]}", "Base variable definition from the local file: ${base_file_list[${files_index}]} was correct", "${files_index}"),
ifvarclass => "local_base_file_ok";

"any" usebundle => rudder_common_report_index("variableFromJsonFile", "result_error", "${trackingkey[${files_index}]}", "Base file", "${json_file[${files_index}]}", "Base variable definition from the shared file: ${base_file_list[${files_index}]}", "${files_index}"),
"any" usebundle => rudder_common_report_index("variableFromJsonFile", "result_error", "${trackingkey[${files_index}]}", "Base file", "${json_file[${files_index}]}", "Base variable definition from the shared file: ${base_file_list[${files_index}]} could not be defined", "${files_index}"),
ifvarclass => "!base_file_ok";

#File copy
Expand All @@ -172,7 +172,7 @@ bundle agent variable_from_json_file_RudderUniqueID
"any" usebundle => rudder_common_report_index("variableFromJsonFile", "result_na", "${trackingkey[${files_index}]}", "Overriding file", "${json_file[${files_index}]}", "No merging files precised", "${files_index}"),
ifvarclass => "!not_empty_input_${files_index}";
"any" usebundle => rudder_common_report_index("variableFromJsonFile", "result_na", "${trackingkey[${files_index}]}", "Variable definition", "${json_file[${files_index}]}", "No merging files precised", "${files_index}"),
ifvarclass => "!not_empty_input_${files_index}";
ifvarclass => "!not_empty_input_${files_index}.base_file_ok";

}

0 comments on commit 8c4463b

Please sign in to comment.