Unverified Commit 8ed119ad authored by Rafał Augustyniak's avatar Rafał Augustyniak Committed by GitHub
Browse files

experimentation: fix terminator's initialization (#1320)

* fix terminator's initialization
parent 3d1ceb6f
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -40,7 +40,7 @@ type TerminationCriterion interface {
func New(cfg *anypb.Any, logger *zap.Logger, scope tally.Scope) (service.Service, error) {
m, err := NewMonitor(cfg, logger, scope)
if err != nil {
if err == nil {
m.Run(context.Background())
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment