mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
setBucketMetadata: Fix a deadlock.
This commit is contained in:
@@ -49,7 +49,7 @@ const progTempl = `// DO NOT EDIT THIS FILE. IT IS AUTO-GENERATED BY "gen-db.go"
|
||||
// Definitions are imported from NodeJS mime-db project under MIT license.
|
||||
package mimedb
|
||||
|
||||
// Mime is a collection of mime types with extension as key and content-type as value.
|
||||
// DB - Mime is a collection of mime types with extension as key and content-type as value.
|
||||
var DB = map[string]struct {
|
||||
ContentType string
|
||||
Compressible bool
|
||||
@@ -68,8 +68,6 @@ type mimeEntry struct {
|
||||
|
||||
type mimeDB map[string]mimeEntry
|
||||
|
||||
var ()
|
||||
|
||||
// JSON data from gobindata and parse them into extDB.
|
||||
func convertDB(jsonFile string) (mimeDB, error) {
|
||||
// Structure of JSON data from mime-db project.
|
||||
|
||||
Reference in New Issue
Block a user