Skip to content

Commit

Permalink
Merge pull request mozilla-services#1970 from nickchappell/fix_bind_q…
Browse files Browse the repository at this point in the history
…uery_log_fields_check

Fix the name of the variable we chek when we check to see if the fiel…
  • Loading branch information
rafrombrc authored Aug 5, 2016
2 parents 9115c42 + 6d9aed9 commit f270dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sandbox/lua/decoders/bind_query_log.lua
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function process_message ()
fields = grammar:match(query_log_line)

--If fields is empty, exit immediately:
if not ok then return -1, "Failed to parse the BIND query log line." end
if not fields then return -1, "Failed to parse the BIND query log line." end

--Set the time in the message we're generating and set it to nil in the original log line:
msg.Timestamp = fields.time
Expand Down

0 comments on commit f270dc0

Please sign in to comment.