Skip to content

Commit

Permalink
fix(iam): correct month calculation for treshold checks
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Smith <dsmith@goodwaygroup.com>
  • Loading branch information
clok committed Mar 31, 2021
1 parent d6ec99a commit 99dd10c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ Current rules are:
case "weeks":
check = threshold * 7 * 24
case "months":
check = threshold * 30 * 7 * 24
check = threshold * 30 * 24
}

users, err := getAllUsers(&buildUserDataOptions{
Expand Down

0 comments on commit 99dd10c

Please sign in to comment.