From 1c16cd217dc46750a384449e2a37b9d88deba812 Mon Sep 17 00:00:00 2001 From: "jan.kozlowski" Date: Thu, 18 Jul 2024 14:33:43 +0200 Subject: [PATCH] remove addpath --- .../snapshot/resource/listeners/filters/RBACFilterFactory.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/envoy-control-core/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/snapshot/resource/listeners/filters/RBACFilterFactory.kt b/envoy-control-core/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/snapshot/resource/listeners/filters/RBACFilterFactory.kt index e67428e3c..572d7ad0c 100644 --- a/envoy-control-core/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/snapshot/resource/listeners/filters/RBACFilterFactory.kt +++ b/envoy-control-core/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/snapshot/resource/listeners/filters/RBACFilterFactory.kt @@ -412,9 +412,6 @@ class RBACFilterFactory( .addPath( MetadataMatcher.PathSegment.newBuilder() .setKey(jwtProperties.payloadInMetadata) - ).addPath( - MetadataMatcher.PathSegment.newBuilder() - .setKey(jwtProperties.failedStatusInMetadata) ).addPath( MetadataMatcher.PathSegment.newBuilder() .setKey(jwtProperties.fieldRequiredInToken)