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

refactor(web): change ensureCronTriggersHaveIdentifier to return void #1457

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

dbyron-sf
Copy link
Contributor

and use an additional filter to clean up the code.

With pipeline.getTriggers() implemented as an accessor, ensureCronTriggersHaveIdentifier was already mutating the pipeline. Let's make that more obvious by making it return void and adding some javadoc.

and use an additional filter to clean up the code.

With
[pipeline.getTriggers()](https://github.com/spinnaker/front50/pull/1035/files#diff-0b2bc300fd3965c64ba4184955384aa8609cace04e1c015b31ef4a83552e53d1R36)
implemented as an accessor, ensureCronTriggersHaveIdentifier was already mutating the
pipeline.  Let's make that more obvious by making it return void and adding some javadoc.
Copy link
Member

@nemesisOsorio nemesisOsorio left a comment

Choose a reason for hiding this comment

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

LGTM

@dbyron-sf dbyron-sf added the ready to merge Approved and ready for merge label Apr 19, 2024
@mergify mergify bot added the auto merged label Apr 19, 2024
@mergify mergify bot merged commit f413f5c into spinnaker:master Apr 19, 2024
4 checks passed
@dbyron-sf dbyron-sf deleted the cron-trigger-cleanup branch April 19, 2024 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants