1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Fix #3114: Origin cluster config bug. v5.0.43

This commit is contained in:
winlin 2022-08-22 11:43:44 +08:00
parent e9d6601f7d
commit 9b010ac158
3 changed files with 5 additions and 1 deletions

View file

@ -4960,6 +4960,9 @@ vector<string> SrsConfig::get_vhost_coworkers(string vhost)
}
conf = conf->get("coworkers");
if (!conf) {
return coworkers;
}
for (int i = 0; i < (int)conf->args.size(); i++) {
coworkers.push_back(conf->args.at(i));
}