Skip to content

Commit

Permalink
lint fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
aditi-khare-mongoDB committed Jul 9, 2024
1 parent 4a719cb commit 370b1a9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1218,14 +1218,6 @@ const RETRYABLE_READ_ERROR_CODES = new Set<number>([
// 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,
Expand Down

0 comments on commit 370b1a9

Please sign in to comment.