Skip to content

Commit c62ac33

Browse files
committed
fix Unitech#5660 - loose checking
1 parent 7edb012 commit c62ac33

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/API/Log.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,11 @@ Log.stream = function(Client, id, raw, timestamp, exclusive, highlight) {
9898
var min_padding = 3
9999

100100
bus.on('log:*', function(type, packet) {
101-
var isMatchingProcess = id === 'all'
102-
|| packet.process.name === id
103-
|| packet.process.pm_id === id
104-
|| packet.process.namespace === id;
101+
var isMatchingProcess = id === 'all'
102+
|| packet.process.name == id
103+
|| packet.process.pm_id == id
104+
|| packet.process.namespace == id;
105+
105106
if (!isMatchingProcess)
106107
return;
107108

0 commit comments

Comments
 (0)