feat(event): remove node on pipeline failure (#3736)
This commit is contained in:
1 parent
6c54988e58
commit
8a0b8d84d8
3 files changed
+10
No files matched your search
@@ -487,10 +487,15 @@ func (b *testMockBroker) RegisterPipeline(def eventlogger.Pipeline, opt ...event
|
||||
return nil
|
||||
}
|
||||
func (b *testMockBroker) StopTimeAt(t time.Time) {}
|
||||
|
||||
func (b *testMockBroker) RegisterNode(id eventlogger.NodeID, node eventlogger.Node, opt ...eventlogger.Option) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (b *testMockBroker) RemoveNode(ctx context.Context, id eventlogger.NodeID) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (b *testMockBroker) RemovePipelineAndNodes(ctx context.Context, t eventlogger.EventType, id eventlogger.PipelineID) (bool, error) {
|
||||
return true, nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user