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 error when editing kapacitor info in onboarding #5078

Merged
merged 1 commit into from
Feb 13, 2019

Conversation

ischolten
Copy link
Contributor

@ischolten ischolten commented Feb 12, 2019

Closes #5060

Briefly describe your proposed changes:

What was the problem?
setKapacitorDraft was added as a prop to the KapacitorStep which is used in both the OnboardingWizard and the ConnectionWizard. The ConnectionWizard passes in the prop whereas the OnboardingWizard does not. Any time a user would edit info in the Kapacitor Form from the onboarding flow, they would get an error message.

What was the solution?
Make it an optional prop and only use call that function if the function is passed in.

  • CHANGELOG.md updated with a link to the PR (not the Issue)
  • Rebased/mergeable
  • Tests pass
  • swagger.json updated (if modified Go structs or API)
  • Sign CLA (if not already signed)

@ischolten ischolten force-pushed the fix/update-kapacitor-name branch 2 times, most recently from bba07af to c1b16b2 Compare February 12, 2019 21:45
@ischolten ischolten force-pushed the fix/update-kapacitor-name branch from c1b16b2 to 38ce543 Compare February 13, 2019 01:41
@ischolten ischolten merged commit 51eec0e into master Feb 13, 2019
@ischolten ischolten deleted the fix/update-kapacitor-name branch February 13, 2019 04:23
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