File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/modules/mongodb/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export class MongoDBContainer extends GenericContainer {
3131
3232 public override async start ( ) : Promise < StartedMongoDBContainer > {
3333 if ( this . authEnabled ( ) ) {
34- this . ensureReplicaSetIsDisabedWhenCredentialsAreSet ( ) ;
34+ this . ensureReplicaSetIsDisabledWhenCredentialsAreSet ( ) ;
3535 this . withEnvironment ( {
3636 MONGO_INITDB_ROOT_USERNAME : this . username ,
3737 MONGO_INITDB_ROOT_PASSWORD : this . password ,
@@ -90,7 +90,7 @@ export class MongoDBContainer extends GenericContainer {
9090 return this . username && this . password ;
9191 }
9292
93- private ensureReplicaSetIsDisabedWhenCredentialsAreSet ( ) {
93+ private ensureReplicaSetIsDisabledWhenCredentialsAreSet ( ) {
9494 if ( this . authEnabled ( ) && this . useReplicaSet )
9595 throw new Error (
9696 "Using credentials is not supported when replica set is enabled. Either connect without credentials or disable replica set."
You can’t perform that action at this time.
0 commit comments