Skip to content

Commit

Permalink
BUG/MINOR: Fix parsing of option 51degrees-cache-size
Browse files Browse the repository at this point in the history
If this was the only 51degrees option set, it would be ignored by the
parser.
  • Loading branch information
oliwer committed Jan 13, 2025
1 parent df8f78b commit 83b02cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configuration/global.go
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ func parseFiftyOneDegreesOptions(p parser.Parser) (*models.FiftyOneDegreesOption
if err != nil {
return nil, err
}
if option != "" {
if optionInt != 0 {
isEmpty = false
options.CacheSize = optionInt
}
Expand Down

0 comments on commit 83b02cd

Please sign in to comment.