Skip to content

Commit 0215c20

Browse files
committed
BUG/MINOR: Fix parsing of option 51degrees-cache-size
If this was the only 51degrees option set, it would be ignored by the parser.
1 parent e94f1ab commit 0215c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configuration/global.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ func parseFiftyOneDegreesOptions(p parser.Parser) (*models.FiftyOneDegreesOption
10041004
if err != nil {
10051005
return nil, err
10061006
}
1007-
if option != "" {
1007+
if optionInt != 0 {
10081008
isEmpty = false
10091009
options.CacheSize = optionInt
10101010
}

0 commit comments

Comments
 (0)