add module/broadcast_event method
This commit is contained in:
1 parent
96dee8dee3
commit
28aa3eae33
13 files changed
+105
-11
No files matched your search
@@ -31,9 +31,11 @@ func PerformSyncApply(command []byte, commandName string, responsePtr interface{
|
||||
}).Warnf(codes2.SyncApplyError, "apply command")
|
||||
return unknownError()
|
||||
}
|
||||
err = json.Unmarshal(applyLogResponse.Result, responsePtr)
|
||||
if err != nil {
|
||||
return unknownError()
|
||||
if responsePtr != nil {
|
||||
err = json.Unmarshal(applyLogResponse.Result, responsePtr)
|
||||
if err != nil {
|
||||
return unknownError()
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user