mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-05 13:11:33 +00:00
Fixed server list parsing
This commit is contained in:
@@ -222,6 +222,10 @@ static struct uwsgi_gridfs_mountpoint *uwsgi_gridfs_add_mountpoint(char *arg, si
|
||||
ugm->servers.push_back(mongo::HostAndPort(buffer.substr(0, pos)));
|
||||
buffer.erase(0, pos + 1);
|
||||
}
|
||||
|
||||
if (!ugm->servers.size()) {
|
||||
ugm->servers.push_back(mongo::HostAndPort(ugm->server));
|
||||
}
|
||||
}
|
||||
|
||||
return ugm;
|
||||
|
||||
Reference in New Issue
Block a user