Skip to content

Optionally send optional values #534

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
Apr 15, 2025
Merged

Optionally send optional values #534

merged 1 commit into from
Apr 15, 2025

Conversation

marccampbell
Copy link
Member

only send embeddedClusterDownloadEnabled and embeddedClustermultinodeenabled when they are set. this avoid the following error:

ERROR: 400
METHOD: POST
ENDPOINT: https://api.replicated.com/vendor/v3/customer
is_embedded_cluster_multinode_enabled cannot be true if is_embedded_cluster_download_enabled is false

The problem is that embeddedClusterDownloadEnabled is true in the license policy, but the current CLI is sending false if i don't specify it.

@marccampbell marccampbell merged commit 72a9c80 into main Apr 15, 2025
5 checks passed
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.

3 participants