-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Hi!
I have noticed a bug in IndexOptions class. Using expireAfter(Duration duration) method should set expire field with given expiration time, but duration parameter is not used and unique option is set instead.
Lines 86 to 91 in f910839
| public static IndexOptions expireAfter(Duration duration) { | |
| IndexOptions options = new IndexOptions(); | |
| options.unique = Unique.YES; | |
| return options; | |
| } |
Metadata
Metadata
Assignees
Labels
type: bugA general bugA general bug