@@ -70,7 +70,7 @@ type ClusterApiResource struct {
7070 Network string `json:"network_id,omitempty"`
7171 Parent string `json:"parent_id,omitempty"`
7272 Plan string `json:"plan_id,omitempty"`
73- PostgresVersion intstr.IntOrString `json:"postgres_version_id,omitempty "`
73+ PostgresVersion intstr.IntOrString `json:"postgres_version_id"`
7474 Provider string `json:"provider_id,omitempty"`
7575 Region string `json:"region_id,omitempty"`
7676 Replicas []* ClusterApiResource `json:"replicas,omitempty"`
@@ -187,7 +187,7 @@ type PostClustersRequestPayload struct {
187187 IsHA bool `json:"is_ha,omitempty"`
188188 Keychain string `json:"keychain_id,omitempty"`
189189 Network string `json:"network_id,omitempty"`
190- PostgresVersion intstr.IntOrString `json:"postgres_version_id,omitempty "`
190+ PostgresVersion intstr.IntOrString `json:"postgres_version_id"`
191191 Provider string `json:"provider_id,omitempty"`
192192 Region string `json:"region_id,omitempty"`
193193 Storage int64 `json:"storage,omitempty"`
@@ -197,7 +197,7 @@ type PostClustersRequestPayload struct {
197197// changing its plan, upgrading its major version, or increasing its storage size.
198198type PostClustersUpgradeRequestPayload struct {
199199 Plan string `json:"plan_id,omitempty"`
200- PostgresVersion intstr.IntOrString `json:"postgres_version_id,omitempty "`
200+ PostgresVersion intstr.IntOrString `json:"postgres_version_id"`
201201 UpgradeStartTime string `json:"starting_from,omitempty"`
202202 Storage int64 `json:"storage,omitempty"`
203203}
@@ -206,7 +206,7 @@ type PostClustersUpgradeRequestPayload struct {
206206// TODO: Implement the ability to update an upgrade (this isn't currently being used)
207207type PutClustersUpgradeRequestPayload struct {
208208 Plan string `json:"plan_id,omitempty"`
209- PostgresVersion intstr.IntOrString `json:"postgres_version_id,omitempty "`
209+ PostgresVersion intstr.IntOrString `json:"postgres_version_id"`
210210 UpgradeStartTime string `json:"starting_from,omitempty"`
211211 Storage int64 `json:"storage,omitempty"`
212212 UseMaintenanceWindow * bool `json:"use_cluster_maintenance_window,omitempty"`
0 commit comments