refactor: add nolint comment

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2022-08-14 22:16:24 +08:00
parent 63fc3a656a
commit 14fd71005a
4 changed files with 6 additions and 9 deletions
+3 -1
View File
@@ -32,7 +32,9 @@ func (c *chromium) GetMasterKey() ([]byte, error) {
return nil, err
}
defer func() {
session.Close()
if err := session.Close(); err != nil {
log.Errorf("close session failed: %v", err)
}
}()
collections, err := svc.GetAllCollections()
if err != nil {