File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/com/uid2/admin/vertx/service Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2222import java .time .*;
2323import java .time .format .DateTimeFormatter ;
2424import java .util .*;
25+ import java .util .stream .Collectors ;
2526
2627import static com .uid2 .admin .vertx .Endpoints .*;
2728
@@ -138,7 +139,7 @@ private void handleSaltRotate(RoutingContext rc) {
138139 } else {
139140 ageThresholds = SALT_ROTATION_AGE_THRESHOLDS ;
140141 }
141- LOGGER .info ("Salt rotation age thresholds: {}" , Arrays .toString (ageThresholds ));
142+ LOGGER .info ("Salt rotation age thresholds in seconds : {}" , Arrays .stream (ageThresholds ). map ( Duration :: toSeconds ). collect ( Collectors . toList () ));
142143
143144 final TargetDate targetDate =
144145 RequestUtil .getDate (rc , "target_date" , DateTimeFormatter .ISO_LOCAL_DATE )
You can’t perform that action at this time.
0 commit comments