Skip to content

fix: added validation for autoscaling compute enabled and when true a… #267

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

Merged
merged 1 commit into from
Jul 21, 2020

Conversation

coderGo93
Copy link
Contributor

@coderGo93 coderGo93 commented Jul 20, 2020

…dd the parameter autoscaling to request and its test

Description

Fixes #265

The problem was sending autoclusting empty in request when creating, I validated it when it's enabled with autoscaling computed as the doc mentioned.

Link to any related issue(s):

Type of change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Documentation fix/enhancement

Required Checklist:

  • I have signed the MongoDB CLA
  • I have read the Terraform contribution guidelines
  • I have added tests that prove my fix is effective or that my feature works per HashiCorp requirments
  • I have added any necessary documentation (if appropriate)
  • I have run make fmt and formatted my code

Further comments

…dd the parameter autoscaling to request and its test
Copy link
Collaborator

@themantissa themantissa left a comment

Choose a reason for hiding this comment

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

Tested this morning and this seems to fix it so LGTM. Thank you!

Copy link
Contributor

@PacoDw PacoDw left a comment

Choose a reason for hiding this comment

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

LGTM! nice

@coderGo93 coderGo93 merged commit 712fa81 into master Jul 21, 2020
@coderGo93 coderGo93 deleted the fix-265 branch July 21, 2020 15:55
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.

Can't create a new cluster (M2/M5) after 0.6.2 version
3 participants