Skip to content

Commit

Permalink
fix #5660 - loose checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed Oct 6, 2023
1 parent 7edb012 commit c62ac33
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/API/Log.js
Expand Up @@ -98,10 +98,11 @@ Log.stream = function(Client, id, raw, timestamp, exclusive, highlight) {
var min_padding = 3

bus.on('log:*', function(type, packet) {
var isMatchingProcess = id === 'all'
|| packet.process.name === id
|| packet.process.pm_id === id
|| packet.process.namespace === id;
var isMatchingProcess = id === 'all'
|| packet.process.name == id
|| packet.process.pm_id == id
|| packet.process.namespace == id;

if (!isMatchingProcess)
return;

Expand Down

0 comments on commit c62ac33

Please sign in to comment.