We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26a1800 commit 336966eCopy full SHA for 336966e
MongoBackup/Sharding.py
@@ -127,7 +127,10 @@ def get_config_server(self, force=False):
127
if force or not self.config_server:
128
configdb_hosts = self.get_configdb_hosts()
129
try:
130
- config_host, config_port = configdb_hosts[0].split(":")
+ config_host = configdb_hosts[0]
131
+ config_port = 27017
132
+ if ":" in configdb_hosts[0]:
133
+ config_host, config_port = configdb_hosts[0].split(":")
134
validate_hostname(config_host)
135
logging.info("Found sharding config server: %s:%s" % (config_host, config_port))
136
VERSION
@@ -1 +1 @@
1
-0.3.4
+0.3.5
0 commit comments