mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Updated caps birpc server
This commit is contained in:
committed by
Dan Christian Bogos
parent
4fe51d4d05
commit
8ed0a145f9
@@ -146,6 +146,9 @@ func newCapsBiRPCJSONCodec(conn conn, caps *engine.Caps, anz *analyzers.Analyzer
|
||||
}
|
||||
|
||||
func newCapsBiRPCCodec(sc rpc2.Codec, caps *engine.Caps) rpc2.Codec {
|
||||
if !caps.IsLimited() {
|
||||
return sc
|
||||
}
|
||||
return &capsBiRPCCodec{
|
||||
sc: sc,
|
||||
caps: caps,
|
||||
|
||||
Reference in New Issue
Block a user