Skip to content

Commit

Permalink
fix style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dhontecillas committed Jul 7, 2024
1 parent 585c80a commit a91fb75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cors.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func ConfigGetter(e config.ExtraConfig) interface{} {
}

func getList(data map[string]interface{}, name string) []string {
out := []string{}
var out []string
if vs, ok := data[name]; ok {
if v, ok := vs.([]interface{}); ok {
for _, s := range v {
Expand Down

0 comments on commit a91fb75

Please sign in to comment.