From 370b1a9d683bdb0ca195d1f8050922e3e268a750 Mon Sep 17 00:00:00 2001 From: Aditi Khare Date: Tue, 9 Jul 2024 17:26:41 -0400 Subject: [PATCH] lint fix 2 --- src/error.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/error.ts b/src/error.ts index 8fa5c86299..2b304c3ea6 100644 --- a/src/error.ts +++ b/src/error.ts @@ -1218,14 +1218,6 @@ const RETRYABLE_READ_ERROR_CODES = new Set([ // see: https://github.com/mongodb/specifications/blob/master/source/retryable-writes/retryable-writes.rst#terms const RETRYABLE_WRITE_ERROR_CODES = RETRYABLE_READ_ERROR_CODES; -const REPLICASET_SERVER_TYPES: ServerType[] = [ - 'RSPrimary', - 'RSSecondary', - 'RSArbiter', - 'RSOther', - 'RSGhost' -]; - export function needsRetryableWriteLabel( error: Error, maxWireVersion: number,