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