Skip to content

Commit 85ab665

Browse files
author
Tim Vaillancourt
committed
only validate the chosen config-server hostname #2
1 parent cfd4ed4 commit 85ab665

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

MongoBackup/Sharding.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ def get_configdb_hosts(self):
116116
config_replset, config_string = config_string.split("/")
117117
return config_string.split(',')
118118
except Exception:
119-
validate_hostname(config_string)
120119
return [config_string]
121120
else:
122121
logging.fatal("Unable to locate config servers for %s:%i!" % (self.db.host, self.db.port))

0 commit comments

Comments
 (0)