elastic / cloud-sdk-go

Apache License 2.0
21 stars 46 forks source link

Handle empty instance_config_version in topology elements #450

Closed claudia-correia closed 10 months ago

claudia-correia commented 10 months ago

Description

This changes the type of the instance_configuration_version field to *int32 for all topology elements and marks the fields as nullable.

Related Issues

Rel: https://elasticco.atlassian.net/browse/CP-5181

Motivation and Context

We can't set instance_configuration_version to 0 because it will be considered as an empty value and it will be omitted during JSON marshalling.

Types of Changes

Readiness Checklist