Skip to content

Commit

Permalink
Upgrade mockery and clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
muralov committed Oct 17, 2023
1 parent aa0640c commit 7a6d6f7
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 13 deletions.
2 changes: 0 additions & 2 deletions internal/controller/eventing/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ func (r *Reconciler) startNatsCRWatch(eventing *eventingv1alpha1.Eventing) error
}),
predicate.ResourceVersionChangedPredicate{},
); err != nil {
r.natsCRWatchStarted = false
return err
}
natsWatcher.Start()
Expand All @@ -293,7 +292,6 @@ func (r *Reconciler) stopNatsCRWatch(eventing *eventingv1alpha1.Eventing) {
natsWatcher.Stop()
delete(r.natsWatchers, eventing.Namespace)
}
r.natsCRWatchStarted = false
}

// loggerWithEventing returns a logger with the given Eventing CR details.
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/eventing/mocks/controller.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/controller/eventing/mocks/manager.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/controller/eventing/mocks/nats_config_handler.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/backend/jetstream/mocks/Backend.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/backend/jetstream/mocks/JetStreamContext.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/ems/api/events/client/mocks/PublisherManager.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/eventing/mocks/manager.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/k8s/mocks/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/subscriptionmanager/manager/mocks/manager.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/subscriptionmanager/mocks/manager_factory.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/watcher/mocks/watcher.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7a6d6f7

Please sign in to comment.