Skip to content

Commit

Permalink
fix instance types of log group fields on instances so that they are …
Browse files Browse the repository at this point in the history
…actually saved to the database (#392)
  • Loading branch information
markdboyd authored Dec 19, 2024
1 parent d8dc43c commit 4200ba5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions services/elasticsearch/elasticsearchinstance.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ type ElasticsearchInstance struct {
SubnetID4AZ2 string `sql:"-"`
SecGroup string `sql:"-"`

SearchSlowLogsGroupARN string `sql:"size(-)"`
IndexSlowLogsGroupARN string `sql:"size(-)"`
ErrorLogsGroupARN string `sql:"size(-)"`
AuditLogsGroupARN string `sql:"size(-)"`
SearchSlowLogsGroupARN string `sql:"size(2048)"`
IndexSlowLogsGroupARN string `sql:"size(2048)"`
ErrorLogsGroupARN string `sql:"size(2048)"`
AuditLogsGroupARN string `sql:"size(2048)"`
}

func (i *ElasticsearchInstance) setPassword(password, key string) error {
Expand Down
2 changes: 1 addition & 1 deletion services/rds/rdsinstance.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ type RDSInstance struct {
ParameterGroupFamily string `sql:"-"`
ParameterGroupName string `sql:"size(255)"`

EnabledCloudWatchLogGroupExports []string `sql:"-"`
EnabledCloudWatchLogGroupExports []string `sql:"type:jsonb"`

StorageType string `sql:"size(255)"`
}
Expand Down

0 comments on commit 4200ba5

Please sign in to comment.