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

change required fields to optional in physical cluster resource #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anvesh-cohesity
Copy link
Contributor

synced up with Sudeep to check the required fields in physical cluster creation, in the latest releases they made certain fields from required to optional, since these are backward compatible changes - made these changes in our terraform privider.

IpmiSubnetMask: &ipmiSubnetMask,
IpmiUsername: &ipmiUsername,
ipmiConfig := models.IpmiConfiguration{}
if ipmiGateway != "" {
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to handle a case where users passes this as null object ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

when no value is assigned for string variable, it takes empty string by default, this is handled

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