Skip to content

duplicate statements were removing more - #10

Merged
harshavardhana merged 1 commit into
mainfrom
fix-policy
Oct 12, 2021
Merged

harshavardhana merged 1 commit into
mainfrom
fix-policy

Conversation

@harshavardhana

Copy link
Copy Markdown
Member

dropping duplicate statements was incorrectly
implemented, leading to failure in dropping statements
when statements had > 2 statements and 2 of them
are duplicate.

Adds additional testcases to cover these scenarios.

Comment thread iam/policy/policy_test.go
@harshavardhana
harshavardhana force-pushed the fix-policy branch 2 times, most recently from a14e4fe to 6e814b2 Compare October 12, 2021 22:30
dropping duplicate statements was incorrectly
implemented, leading to failure in dropping statements
when statements had > 2 statements and 2 of them
are duplicate.

Adds additional testcases to cover these scenarios.
Comment thread bucket/policy/policy.go
Comment thread iam/policy/policy_test.go
@harshavardhana
harshavardhana merged commit f3ed8f0 into main Oct 12, 2021
@harshavardhana
harshavardhana deleted the fix-policy branch October 12, 2021 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants