Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for role array in AWS managed policies #20

Merged
merged 2 commits into from
Dec 28, 2016

Conversation

raphaellondner-okta
Copy link
Contributor

No description provided.

System.out.println("\nYou entered an invalid number. Please try again.");
return SelectRole(lstRoles);
}
else {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: you don't need else clause here, because you have return in if

@ibabiy-okta
Copy link

@raphaellondner-okta, since you requested to take a look only at the AWS logic part, I won't comment other stuff.
The overall AWS logic is good, but I suggest to run a Okta's PMD/Codestyle checks (like in okta-core). It will help you to identify all those things.

👍

Removed unnecessary else statement
@raphaellondner-okta
Copy link
Contributor Author

Thanks @ibabiy-okta for the feedback. I have removed the unnecessary else statement in the latest commit.

@ibabiy-okta
Copy link

🚢

@raphaellondner-okta raphaellondner-okta merged commit 164e037 into master Dec 28, 2016
@raphaellondner-okta raphaellondner-okta deleted the rl-multi-policy-roles branch December 28, 2016 18:20
AlainODea pushed a commit to AlainODea/okta-aws-cli-assume-role that referenced this pull request Jun 3, 2018
* Support for role array in managed policies

* Code syntax fix

Removed unnecessary else statement
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.

None yet

2 participants