Skip to content

Commit

Permalink
Not yet supporting a global resp version, starting with local
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnSharpe committed Oct 24, 2023
1 parent 7614791 commit 04d548d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions service/databases/model_active_active.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ type CreateActiveActiveDatabase struct {
Protocol *string `json:"protocol,omitempty"`
MemoryLimitInGB *float64 `json:"memoryLimitInGb,omitempty"`
SupportOSSClusterAPI *bool `json:"supportOSSClusterApi,omitempty"`
RespVersion *string `json:"respVersion,omitempty"`
UseExternalEndpointForOSSClusterAPI *bool `json:"useExternalEndpointForOSSClusterApi,omitempty"`
DataEvictionPolicy *string `json:"dataEvictionPolicy,omitempty"`
GlobalDataPersistence *string `json:"dataPersistence,omitempty"`
Expand Down Expand Up @@ -93,7 +92,6 @@ type UpdateActiveActiveDatabase struct {
DryRun *bool `json:"dryRun,omitempty"`
MemoryLimitInGB *float64 `json:"memoryLimitInGb,omitempty"`
SupportOSSClusterAPI *bool `json:"supportOSSClusterApi,omitempty"`
RespVersion *string `json:"respVersion,omitempty"`
UseExternalEndpointForOSSClusterAPI *bool `json:"useExternalEndpointForOSSClusterApi,omitempty"`
ClientSSLCertificate *string `json:"clientSslCertificate,omitempty"`
EnableTls *bool `json:"enableTls,omitempty"`
Expand All @@ -116,6 +114,7 @@ type LocalRegionProperties struct {
DataPersistence *string `json:"dataPersistence,omitempty"`
Password *string `json:"password,omitempty"`
SourceIP []*string `json:"sourceIp,omitempty"`
LocalRespVersion *string `json:"respVersion,omitempty"`
Alerts []*UpdateAlert `json:"alerts,omitempty"`
}

Expand Down
2 changes: 0 additions & 2 deletions service/regions/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ type Region struct {
RecreateRegion *bool `json:"-"`
DeploymentCIDR *string `json:"deploymentCIDR,omitempty"`
VpcId *string `json:"vpcId,omitempty"`
RespVersion *string `json:"respVersion,omitempty"`
Databases []*Database `json:"databases,omitempty"`
}

Expand All @@ -38,7 +37,6 @@ type CreateRegion struct {
Region *string `json:"region,omitempty"`
DeploymentCIDR *string `json:"deploymentCIDR,omitempty"`
DryRun *bool `json:"dryRun,omitempty"`
RespVersion *string `json:"respVersion,omitempty"`
Databases []*CreateDatabase `json:"databases,omitempty"`
}

Expand Down

0 comments on commit 04d548d

Please sign in to comment.