Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

fix: don't modify user provider input for Nutanix insecure #35

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

dkoshkin
Copy link
Collaborator

@dkoshkin dkoshkin commented Apr 5, 2024

@deepakm-ntnx made a good point here, the handlers should not change explicit user input.
No magic!

@dkoshkin dkoshkin self-assigned this Apr 5, 2024
@github-actions github-actions bot added the fix label Apr 5, 2024
@supershal
Copy link

In this case, shouldn't we Default value of the insecure variable to false too?

@dkoshkin
Copy link
Collaborator Author

dkoshkin commented Apr 5, 2024

In this case, shouldn't we Default value of the insecure variable to false too?

Absolutely, its false by default in the prism-go-client , the default in CAREN is a nil value.

@supershal
Copy link

Thanks. my bad. I looked at the old commit referenced in the PR in the description where it was true. The original PR has it as false. LTGM

@dkoshkin dkoshkin merged commit 0e91d4d into main Apr 9, 2024
16 of 19 checks passed
@dkoshkin dkoshkin deleted the dkoshkin/fix-no-magic-to-user-input branch April 9, 2024 15:35
@github-actions github-actions bot mentioned this pull request Apr 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants