mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-23 08:08:45 +05:00
Configuration change - http_failed_dir -> failed_requests_dir
This commit is contained in:
@@ -218,6 +218,7 @@ const (
|
||||
META_FILLER = "*filler"
|
||||
META_HANDLER = "*handler"
|
||||
META_HTTP_POST = "*http_post"
|
||||
MetaHTTPjson = "*http_json"
|
||||
MetaHTTPjsonCDR = "*http_json_cdr"
|
||||
META_HTTP_JSONRPC = "*http_jsonrpc"
|
||||
MetaHTTPjsonMap = "*http_json_map"
|
||||
|
||||
@@ -45,7 +45,7 @@ func NewFallbackFileNameFronString(fileName string) (ffn *FallbackFileName, err
|
||||
return nil, fmt.Errorf("unsupported module: %s", ffn.Module)
|
||||
}
|
||||
fileNameWithoutModule := fileName[moduleIdx+1:]
|
||||
for _, trspt := range []string{MetaHTTPjsonCDR, MetaHTTPjsonMap, META_HTTP_POST} {
|
||||
for _, trspt := range []string{MetaHTTPjsonCDR, MetaHTTPjsonMap, MetaHTTPjson, META_HTTP_POST} {
|
||||
if strings.HasPrefix(fileNameWithoutModule, trspt) {
|
||||
ffn.Transport = trspt
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user