From fdf5b5c55b1ec5043153394654b6bd438a6bc2af Mon Sep 17 00:00:00 2001 From: Monu Singh Date: Thu, 7 Sep 2023 18:06:51 +0530 Subject: [PATCH] Implement abstract methods (#1121) Signed-off-by: monusingh-1 (cherry picked from commit 0fbe5a7aeb1be4c3dccd657332c2f41c3513028d) --- .../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