Skip to content

Commit 280e3b6

Browse files
Assume port 27019 if there is no :PORT in configdb
1 parent 336966e commit 280e3b6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

MongoBackup/Sharding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def get_config_server(self, force=False):
128128
configdb_hosts = self.get_configdb_hosts()
129129
try:
130130
config_host = configdb_hosts[0]
131-
config_port = 27017
131+
config_port = 27019
132132
if ":" in configdb_hosts[0]:
133133
config_host, config_port = configdb_hosts[0].split(":")
134134
validate_hostname(config_host)

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ pynsca==1.5
55
PyYAML==3.12
66
boto==2.45.0
77
filechunkio==1.8
8+
google_compute_engine

0 commit comments

Comments
 (0)