fix http response code when forwarder node is not available
This commit is contained in:
1 parent
ebdb77d71f
commit
9750998940
5 files changed
+8
-3
No files matched your search
@@ -338,6 +338,9 @@ func chainGroup(name string, group *config.ChainGroupConfig) chain.Chainer {
|
||||
}
|
||||
sel = parseChainSelector(group.Selector)
|
||||
}
|
||||
if len(chains) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
if sel == nil {
|
||||
sel = defaultChainSelector()
|
||||
|
||||
Reference in new issue
Block a user