Close connection before deleting labels to prevent panics accessing deleted bucket

This commit is contained in:
Michal Horejsek
2020-11-03 09:58:56 +01:00
committed by Jakub Cuth
parent f0695eb870
commit b9740e1b7d
7 changed files with 32 additions and 8 deletions

View File

@ -5,12 +5,11 @@
package mocks
import (
io "io"
reflect "reflect"
crypto "github.com/ProtonMail/gopenpgp/v2/crypto"
pmapi "github.com/ProtonMail/proton-bridge/pkg/pmapi"
gomock "github.com/golang/mock/gomock"
io "io"
reflect "reflect"
)
// MockClient is a mock of Client interface