File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -142,12 +142,12 @@ class AlAwsCollector {
142142 }
143143 }
144144
145- prepareErrorStatus ( errorString , streamName = 'error ' , collectionType ) {
145+ prepareErrorStatus ( errorString , streamName = 'none ' , collectionType ) {
146146 let cType = collectionType ? collectionType : this . _ingestType ;
147147 return {
148148 stream_name : streamName ,
149149 status_type : 'error' ,
150- stream_type : 'collector ' ,
150+ stream_type : 'status ' ,
151151 message_type : 'collector_status' ,
152152 host_uuid : this . _collectorId ,
153153 data : [
@@ -373,7 +373,7 @@ class AlAwsCollector {
373373 if ( ! status ) {
374374 return callback ( null ) ;
375375 } else {
376- zlib . deflate ( JSON . stringify ( [ status ] ) , function ( compressionErr , compressed ) {
376+ zlib . deflate ( JSON . stringify ( [ status ] ) , ( compressionErr , compressed ) => {
377377 if ( compressionErr ) {
378378 return callback ( compressionErr ) ;
379379 } else {
Original file line number Diff line number Diff line change 11{
22 "name" : " @alertlogic/al-aws-collector-js" ,
3- "version" : " 2.0.9 " ,
3+ "version" : " 2.0.10 " ,
44 "license" : " MIT" ,
55 "description" : " Alert Logic AWS Collector Common Library" ,
66 "repository" : {
You can’t perform that action at this time.
0 commit comments