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

fix(kubernetes): Fix Optional ofNullable #3265

Merged
merged 2 commits into from
Oct 29, 2019
Merged

fix(kubernetes): Fix Optional ofNullable #3265

merged 2 commits into from
Oct 29, 2019

Conversation

ezimanyi
Copy link
Contributor

This my fault, as my comment explicitly suggested using Optional.of.

The usages of Optional.of should be Optional.ofNullable.

The usages of Optional.of should be Optional.ofNullable.
Copy link
Contributor

@maggieneterval maggieneterval left a comment

Choose a reason for hiding this comment

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

Thank you! I just read about the difference which I definitely did not understand before!
👨 ⛏️ 🐛

@maggieneterval maggieneterval added the ready to merge Approved and ready for merge label Oct 29, 2019
@mergify mergify bot merged commit e383297 into spinnaker:master Oct 29, 2019
@mergify mergify bot added the auto merged Merged automatically by a bot label Oct 29, 2019
sergiopena pushed a commit to sergiopena/orca that referenced this pull request Dec 13, 2019
The usages of Optional.of should be Optional.ofNullable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged Merged automatically by a bot ready to merge Approved and ready for merge target-release/1.17
Projects
None yet
3 participants