Skip to content

Commit cb64dea

Browse files
authored
chore: bump sdk-go (#1499)
1 parent 0bd7069 commit cb64dea

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/hashicorp/terraform-plugin-log v0.7.0
1414
github.com/hashicorp/terraform-plugin-sdk/v2 v2.21.0
1515
github.com/robfig/cron/v3 v3.0.1
16-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220913083321-4f3b37b96a57
16+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20221004094754-879a66c4d2f9
1717
github.com/stretchr/testify v1.8.0
1818
)
1919

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzG
231231
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
232232
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220913083321-4f3b37b96a57 h1:ZxowDQZM/KMIHuYWgHtPROiiDK33TcmXo465D9mQeSE=
233233
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220913083321-4f3b37b96a57/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
234+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20221004094754-879a66c4d2f9 h1:+1XmEP+Os3mmd4u8B3JhbtZHax+Ed+fR1boOJXoCHI8=
235+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20221004094754-879a66c4d2f9/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
234236
github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4=
235237
github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
236238
github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=

scaleway/resource_instance_snapshot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func resourceScalewayInstanceSnapshotCreate(ctx context.Context, d *schema.Resou
124124
}
125125

126126
if volumeID, volumeIDExist := d.GetOk("volume_id"); volumeIDExist {
127-
req.VolumeID = expandZonedID(volumeID).ID
127+
req.VolumeID = scw.StringPtr(expandZonedID(volumeID).ID)
128128
}
129129

130130
if _, isImported := d.GetOk("import"); isImported {

0 commit comments

Comments
 (0)