Skip to content

Commit

Permalink
added fallback for processAnnotations
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanrahic committed Sep 1, 2020
1 parent e76ffe4 commit 09fb629
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/plugins/output-filter/kubernetes-enrichment.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ function processAnnotations (
checkLogsReceiverUrl(pod, data, context)
return callback(null, data)
}

// fallback to return data if no pod info found
return callback(null, data)
}

function getPodCacheKey (data) {
Expand Down

0 comments on commit 09fb629

Please sign in to comment.