Skip to content

Commit 33915e2

Browse files
committed
chore: update sdk version
1 parent 8fd8e50 commit 33915e2

File tree

4 files changed

+7
-14
lines changed

4 files changed

+7
-14
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/terraform-providers/terraform-provider-ncloud
33
go 1.21
44

55
require (
6-
github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.6.11
6+
github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.6.19
77
github.com/aws/aws-sdk-go-v2/config v1.27.27
88
github.com/aws/aws-sdk-go-v2/credentials v1.17.27
99
github.com/aws/aws-sdk-go-v2/service/s3 v1.58.3

go.sum

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk=
22
dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
33
github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow=
44
github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM=
5-
github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.6.11 h1:5+mB3hzj2gRJV12AvIW8eV8S9xdWey9F+YkuIFDLVV0=
6-
github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.6.11/go.mod h1:jRp8KZ64MUevBWNqehghhG2oF5/JU3Dmt/Cu7dp1mQE=
5+
github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.6.19 h1:d3rIjunFHuzHQ6pFFxvSqHgiNHveV/HT1CtM3nv/4qE=
6+
github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.6.19/go.mod h1:jRp8KZ64MUevBWNqehghhG2oF5/JU3Dmt/Cu7dp1mQE=
77
github.com/ProtonMail/go-crypto v1.1.0-alpha.2 h1:bkyFVUP+ROOARdgCiJzNQo2V2kiB97LyUpzH9P6Hrlg=
88
github.com/ProtonMail/go-crypto v1.1.0-alpha.2/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE=
9-
github.com/acomagu/bufpipe v1.0.4 h1:e3H4WUzM3npvo5uv95QuJM3cQspFNtFBzvJ2oNjKIDQ=
10-
github.com/acomagu/bufpipe v1.0.4/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4=
119
github.com/agext/levenshtein v1.2.2 h1:0S/Yg6LYmFJ5stwQeRp6EeOcCbj7xiqQSdNelsXvaqE=
1210
github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
1311
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
@@ -136,17 +134,13 @@ github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOl
136134
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo=
137135
github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c=
138136
github.com/jhump/protoreflect v1.15.1/go.mod h1:jD/2GMKKE6OqX8qTjhADU1e6DShO+gavG9e0Q693nKo=
139-
github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk=
140-
github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg=
141137
github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4=
142138
github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
143139
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
144140
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
145141
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
146142
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
147143
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
148-
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
149-
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
150144
github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
151145
github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
152146
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
@@ -275,6 +269,5 @@ gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33
275269
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
276270
gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME=
277271
gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI=
278-
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
279272
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
280273
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

internal/service/mysql/mysql_image_products_data_source.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ func convertToJsonStruct(images []attr.Value) ([]mysqlImageProductToJsonConvert,
155155
return mysqlImagesToConvert, nil
156156
}
157157

158-
func flattenMysqlImageProduct(list []*vmysql.Product) []*mysqlImageProduct {
158+
func flattenMysqlImageProduct(list []*vmysql.CloudDbProduct) []*mysqlImageProduct {
159159
var outputs []*mysqlImageProduct
160160

161161
for _, v := range list {
@@ -209,7 +209,7 @@ func (m mysqlImageProduct) attrTypes() map[string]attr.Type {
209209
}
210210
}
211211

212-
func (m *mysqlImageProduct) refreshFromOutput(output *vmysql.Product) {
212+
func (m *mysqlImageProduct) refreshFromOutput(output *vmysql.CloudDbProduct) {
213213
m.ProductCode = types.StringPointerValue(output.ProductCode)
214214
m.GenerationCode = types.StringPointerValue(output.GenerationCode)
215215
m.ProductName = types.StringPointerValue(output.ProductName)

internal/service/mysql/mysql_products_data_source.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func convertProductsToJsonStruct(images []attr.Value) ([]mysqlProductsToJsonConv
167167
return mysqlProductsToConvert, nil
168168
}
169169

170-
func flattenMysqlProduct(list []*vmysql.Product) []*mysqlProductModel {
170+
func flattenMysqlProduct(list []*vmysql.CloudDbProduct) []*mysqlProductModel {
171171
var outputs []*mysqlProductModel
172172

173173
for _, v := range list {
@@ -226,7 +226,7 @@ func (m mysqlProductModel) attrTypes() map[string]attr.Type {
226226
"product_description": types.StringType,
227227
}
228228
}
229-
func (m *mysqlProductModel) refreshFromOutput(output *vmysql.Product) {
229+
func (m *mysqlProductModel) refreshFromOutput(output *vmysql.CloudDbProduct) {
230230
m.ProductCode = types.StringPointerValue(output.ProductCode)
231231
m.ProductName = types.StringPointerValue(output.ProductName)
232232
m.ProductType = types.StringPointerValue(output.ProductType.Code)

0 commit comments

Comments
 (0)