From 752b80576117a74d08c18e5c22f42fc23a3e9fea Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Thu, 7 Sep 2023 20:08:58 +0530 Subject: [PATCH] Implement abstract methods (#1121) (#1122) Signed-off-by: monusingh-1 (cherry picked from commit 0fbe5a7aeb1be4c3dccd657332c2f41c3513028d) Co-authored-by: Monu Singh --- .../replication/repository/RemoteClusterRepository.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/kotlin/org/opensearch/replication/repository/RemoteClusterRepository.kt b/src/main/kotlin/org/opensearch/replication/repository/RemoteClusterRepository.kt index bb7aefdb..832977b2 100644 --- a/src/main/kotlin/org/opensearch/replication/repository/RemoteClusterRepository.kt +++ b/src/main/kotlin/org/opensearch/replication/repository/RemoteClusterRepository.kt @@ -364,6 +364,10 @@ class RemoteClusterRepository(private val repositoryMetadata: RepositoryMetadata return true } + override fun isSystemRepository(): Boolean { + throw UnsupportedOperationException("Operation not permitted") + } + /* * This method makes a blocking call to the leader cluster