RIFT-14942: added check for loggingEvents 65/565/1
authorLaurence Maultsby <laurence.maultsby@riftio.com>
Fri, 21 Oct 2016 18:36:13 +0000 (14:36 -0400)
committerLaurence Maultsby <laurence.maultsby@riftio.com>
Fri, 21 Oct 2016 18:36:13 +0000 (14:36 -0400)
Signed-off-by: Laurence Maultsby <laurence.maultsby@riftio.com>
skyquake/plugins/logging/api/transforms.js

index f4bfda6..2e2b8dc 100644 (file)
@@ -168,7 +168,7 @@ LoggingConfigEncoder.prototype.denyEvents = function(data) {
  * or absence of the { "allow": { "duplicate": "events" }} key/value hierarchy
  */
 LoggingConfigEncoder.prototype.allow = function(data) {
-  if (data.allowDuplicateEvent && data.allowDuplicateEvents.toUpperCase() == "TRUE") {
+  if (data.allowDuplicateEvents && data.allowDuplicateEvents.toUpperCase() == "TRUE") {
     return { duplicate: "events" };
   } else {
     return null;