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 the cluster_id sent into Avere Telemetry #1368

Open
bsniderpa opened this issue Nov 23, 2022 · 0 comments
Open

Change the cluster_id sent into Avere Telemetry #1368

bsniderpa opened this issue Nov 23, 2022 · 0 comments

Comments

@bsniderpa
Copy link

The current code sets a very specific custID to be sent into the Avere Telemetry service so that the account can be embedded in it. But the code is combining the resource group and cluster_id in a way that cannot be parsed on the backend.

The issues is on line 182 of src/terraform/providers/terraform-provider-avere/azure.go. Rather than this:
supportNameParts = append(supportNameParts, fmt.Sprintf("%s-%s", resourceGroup, avereVfxt.AvereVfxtName))

it could be like this:
supportNameParts = append(supportNameParts, resourceGroup)
supportNameParts = append(supportNameParts, avereVfxt.AvereVfxtName)

The end result is that the returned string from this function is:
av0x2dCUSTOMER0x2dRESOURCE_GROUP0x2dCLUSTER

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

No branches or pull requests

1 participant