mirror of
https://github.com/veops/oneterm.git
synced 2025-10-27 17:40:30 +08:00
fix(backend): concurrent map writes
This commit is contained in:
@@ -36,7 +36,6 @@ func initDB() {
|
||||
logger.L().Fatal("Failed to drop index", zap.Error(err))
|
||||
}
|
||||
|
||||
defer db.Close()
|
||||
}
|
||||
|
||||
func RunApi() error {
|
||||
|
||||
Reference in New Issue
Block a user