Skip to content

Commit

Permalink
Update conf init
Browse files Browse the repository at this point in the history
  • Loading branch information
triole committed Jul 29, 2024
1 parent 21d8f0a commit 9de4163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conf/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func Init(cli interface{}, lg logseal.Logseal) (conf Conf) {
}

conf.Matcher = getcli(cli, "Matcher").(string)
conf.MinAge, conf.MaxAge = parseRangeArg(getcli(cli, "AgeRange").(string), lg)
conf.MinAge, conf.MaxAge = parseDurationRangeArg(getcli(cli, "AgeRange").(string), lg)

conf.SortBy = getcli(cli, "SortBy").(string)
conf.Order = getcli(cli, "Order").(string)
Expand Down

0 comments on commit 9de4163

Please sign in to comment.