fix
This commit is contained in:
parent
2970f368bc
commit
aa4acd1bd2
|
@ -16,8 +16,5 @@ var mapAllocationProcessor = map[constants.Websocket]allocationProcessorFactory{
|
|||
}
|
||||
|
||||
func (w *wsConnectItem) newAllocationProcessor(msgType constants.Websocket) allocationProcessorFactory {
|
||||
if val, ok := mapAllocationProcessor[msgType]; ok {
|
||||
return val
|
||||
}
|
||||
return nil
|
||||
return mapAllocationProcessor[msgType]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user