Browse Source

service: avoid debug logs before error (#7564)

pull/7577/head
Sam Kleinman 3 years ago
committed by GitHub
parent
commit
7a9a38d9d7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libs/service/service.go

+ 0
- 2
libs/service/service.go View File

@ -162,7 +162,6 @@ func (bs *BaseService) Start(ctx context.Context) error {
return nil return nil
} }
bs.logger.Debug("not starting service; already started", "service", bs.name, "impl", bs.impl.String())
return ErrAlreadyStarted return ErrAlreadyStarted
} }
@ -183,7 +182,6 @@ func (bs *BaseService) Stop() error {
return nil return nil
} }
bs.logger.Debug("not stopping service; already stopped", "service", bs.name, "impl", bs.impl.String())
return ErrAlreadyStopped return ErrAlreadyStopped
} }


Loading…
Cancel
Save