Skip to content

Commit

Permalink
mod_block: update product_rule_load.go (bfenetworks#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
flyanna authored Jun 17, 2020
1 parent d582a0c commit e42354c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bfe_modules/mod_block/product_rule_load.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ func ProductRuleConfLoad(filename string) (productRuleConf, error) {

// open the file
file, err := os.Open(filename)
defer file.Close()
if err != nil {
return conf, err
}
defer file.Close()

// decode the file
decoder := json.NewDecoder(file)
Expand Down

0 comments on commit e42354c

Please sign in to comment.