@@ -351,7 +351,7 @@ func (s *Server) Stop() {
|
||||
instance, err := p.Instance()
|
||||
if err != nil {
|
||||
log.L.WithError(err).WithField("id", p.Registration.URI()).
|
||||
Errorf("could not get plugin instance")
|
||||
Error("could not get plugin instance")
|
||||
continue
|
||||
}
|
||||
closer, ok := instance.(io.Closer)
|
||||
@@ -360,7 +360,7 @@ func (s *Server) Stop() {
|
||||
}
|
||||
if err := closer.Close(); err != nil {
|
||||
log.L.WithError(err).WithField("id", p.Registration.URI()).
|
||||
Errorf("failed to close plugin")
|
||||
Error("failed to close plugin")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user