Decode message context using the message type only 51/30251/1
authorVladimir Lavor <vlavor@cisco.com>
Thu, 3 Dec 2020 13:40:09 +0000 (14:40 +0100)
committerVladimir Lavor <vlavor@cisco.com>
Thu, 3 Dec 2020 13:40:09 +0000 (14:40 +0100)
commit8d3131f90f71271835e5fed91831565797894614
treec646a6353d9bfa4712b43fd279d3380bbc668b65
parentbcf3fbd21aa22d1546bc85ffb887ae5ba557808e
Decode message context using the message type only

In order to prevent potential future issues, the method
returning message based on its ID but ignoring its package
was optimized.

Change-Id: I12aa2b243f32f38cb3dbc7731613c7ed9fc66539
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
codec/msg_codec.go
core/channel.go
core/request_handler.go