mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 05:06:51 +00:00
Other: Lint fixes
This commit is contained in:
@ -247,7 +247,7 @@ func (t *testCtx) getLastError() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (t *testCtx) close(ctx context.Context) error {
|
||||
func (t *testCtx) close(ctx context.Context) {
|
||||
for _, client := range t.imapClients {
|
||||
if err := client.client.Logout(); err != nil {
|
||||
logrus.WithError(err).Error("Failed to logout IMAP client")
|
||||
@ -267,8 +267,6 @@ func (t *testCtx) close(ctx context.Context) error {
|
||||
t.api.Close()
|
||||
|
||||
t.events.close()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
type eventCollector struct {
|
||||
|
||||
Reference in New Issue
Block a user