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(core): fix overrideTimeout behavior on existing stages #7190

Merged
merged 1 commit into from
Jul 8, 2019
Merged

fix(core): fix overrideTimeout behavior on existing stages #7190

merged 1 commit into from
Jul 8, 2019

Conversation

anotherchrisberry
Copy link
Contributor

This is one of those cases where, when converting from Angular to React, we tried to follow the original Angular code a little too closely.

I split the single method (setOverrideValues) into separate methods: one to handle stage config changing (user selects a different stage or sets a timeout value), another to handle the user toggling the checkbox to override the default timeout.

I think it's a little cleaner and easier to read, and it works on existing stages with overrides.

@anotherchrisberry anotherchrisberry merged commit 7d2c4e1 into spinnaker:master Jul 8, 2019
@anotherchrisberry anotherchrisberry deleted the override-timeout branch July 8, 2019 14:15
anotherchrisberry added a commit that referenced this pull request Jul 8, 2019
7d2c4e1 fix(core): fix overrideTimeout behavior on existing stages (#7190)
e26f797 fix(core): fix flickering render of stage labels on hydration (#7181)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants