🐛 fix connMap not init

This commit is contained in:
微凉
2022-01-30 00:55:12 +08:00
parent f26ac57569
commit 6fd05d7d72
6 changed files with 6 additions and 5 deletions

View File

@ -118,6 +118,6 @@ func (driver S3) GetKey(path string, account *model.Account, dir bool) string {
}
func init() {
sessionsMap = make(map[string]*session.Session, 0)
sessionsMap = make(map[string]*session.Session)
base.RegisterDriver(&S3{})
}