Skip to content

Commit

Permalink
feat: trigger controller wait eventbus ready
Browse files Browse the repository at this point in the history
Signed-off-by: xdlbdy <xdlbdy@gmail.com>
  • Loading branch information
xdlbdy committed Mar 25, 2023
1 parent f3cad76 commit 64323fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/eventbus.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (es *eventbusService) GetEventbus(ctx context.Context, id uint64) (*meta.Ev
func (es *eventbusService) IsSystemEventbusExistByName(ctx context.Context, name string) (bool, error) {
ebPb, err := es.GetSystemEventbusByName(ctx, name)
if err != nil {
if !errors.Is(err, errors.ErrResourceNotFound) {
if errors.Is(err, errors.ErrResourceNotFound) {
return false, nil
}
return false, err
Expand Down

0 comments on commit 64323fc

Please sign in to comment.