service: avoid debug logs before error (#7564)

This commit is contained in:
Sam Kleinman
2022-01-12 16:17:43 -05:00
committed by GitHub
parent 25e665df17
commit 7a9a38d9d7
-2
View File
@@ -162,7 +162,6 @@ func (bs *BaseService) Start(ctx context.Context) error {
return nil
}
bs.logger.Debug("not starting service; already started", "service", bs.name, "impl", bs.impl.String())
return ErrAlreadyStarted
}
@@ -183,7 +182,6 @@ func (bs *BaseService) Stop() error {
return nil
}
bs.logger.Debug("not stopping service; already stopped", "service", bs.name, "impl", bs.impl.String())
return ErrAlreadyStopped
}