fix: remove extra check for cluster.allowedApi from processing buffered watch-api events

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2021-02-05 02:58:46 +02:00
1 parent bba37d6111
commit 5b86ae2f5d
1 file changed
-4
-4
View File
@@ -277,10 +277,6 @@ export class KubeWatchApi {
const message = this.getMessage(kubeEvent);
const { data, namespace } = message;
if (!this.isAllowedApi(message.api)) {
return;
}
// log all data events
if (data) {
this.log({