From 7ae12f5b63181c9cc7a6dff16dfa6c92446e4518 Mon Sep 17 00:00:00 2001 From: Ryan Liang Date: Tue, 8 Aug 2023 15:20:51 -0700 Subject: [PATCH] Remove the set for cs Signed-off-by: Ryan Liang --- .../java/org/opensearch/security/OpenSearchSecurityPlugin.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/org/opensearch/security/OpenSearchSecurityPlugin.java b/src/main/java/org/opensearch/security/OpenSearchSecurityPlugin.java index 90df8433aa..8e9b71cc54 100644 --- a/src/main/java/org/opensearch/security/OpenSearchSecurityPlugin.java +++ b/src/main/java/org/opensearch/security/OpenSearchSecurityPlugin.java @@ -940,7 +940,6 @@ public Collection createComponents( this.threadPool = threadPool; this.cs = clusterService; this.localClient = localClient; - setClusterService(this.cs); final List components = new ArrayList();