mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(notify): ignore EventId in send
This commit is contained in:
@@ -69,6 +69,9 @@ func (e *SEventManager) CreateEvent(ctx context.Context, event, topicId, message
|
||||
}
|
||||
|
||||
func (e *SEventManager) GetEvent(id string) (*SEvent, error) {
|
||||
if len(id) == 0 {
|
||||
return nil, nil
|
||||
}
|
||||
if consts.OpsLogWithClickhouse {
|
||||
eventModel, err := e.FetchById(id)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user