Adjust Service log notice for duplicate stops
This commit is contained in:
parent
8dacd4172e
commit
19f5a93cff
|
@ -110,7 +110,7 @@ func (bs *BaseService) Stop() bool {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
if bs.log != nil {
|
if bs.log != nil {
|
||||||
bs.log.Notice(Fmt("Not stopping %v", bs.name), "impl", bs.impl)
|
bs.log.Notice(Fmt("Stopping %v (ignoring: already stopped)", bs.name), "impl", bs.impl)
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue