Skip to content

Commit

Permalink
[pr] feedback from #96
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Naglieri committed Apr 6, 2017
1 parent 1eefc95 commit f1c67b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stream_alert/rule_processor/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def default_optional_values(key):
json_payload[key_name] = default_optional_values(value_type)

# Handle jsonpath extraction of records
if config_options and len(config_options) and records_schema:
if config_options and records_schema:
records_jsonpath = jsonpath_rw.parse(records_schema)
if len(envelope_schema):
self.schema.update({'envelope': envelope_schema})
Expand Down
2 changes: 1 addition & 1 deletion test/unit/test_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def make_kinesis_record(**kwargs):
.format(kinesis_stream),
'kinesis': {
'data': base64.b64encode(kinesis_data)
}
}
}
return raw_record

Expand Down

0 comments on commit f1c67b9

Please sign in to comment.