Skip to content

Commit

Permalink
Merge pull request #140 from volcengine/feat/redis
Browse files Browse the repository at this point in the history
fix: fix redis param_values
  • Loading branch information
zpp12354321 authored Nov 1, 2023
2 parents 56dedc9 + cc4543e commit 21b5bde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/common_volcengine_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package common

const (
TerraformProviderName = "terraform-provider-volcengine"
TerraformProviderVersion = "0.0.120"
TerraformProviderVersion = "0.0.121"
)
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ func (s *VolcengineRedisDbInstanceService) CreateResource(resourceData *schema.R
Convert: map[string]ve.RequestConvert{
"param_values": {
TargetField: "ParamValues",
ConvertType: ve.ConvertJsonArray,
ConvertType: ve.ConvertJsonObjectArray,
ForceGet: true,
},
},
Expand Down Expand Up @@ -697,7 +697,7 @@ func (s *VolcengineRedisDbInstanceService) ModifyResource(resourceData *schema.R
Convert: map[string]ve.RequestConvert{
"param_values": {
TargetField: "ParamValues",
ConvertType: ve.ConvertJsonArray,
ConvertType: ve.ConvertJsonObjectArray,
ForceGet: true,
},
},
Expand Down

0 comments on commit 21b5bde

Please sign in to comment.