Skip to content

Commit

Permalink
chore: bump sdk-go (#1499)
Browse files Browse the repository at this point in the history
  • Loading branch information
Codelax authored Oct 4, 2022
1 parent 0bd7069 commit cb64dea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/hashicorp/terraform-plugin-log v0.7.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.21.0
github.com/robfig/cron/v3 v3.0.1
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220913083321-4f3b37b96a57
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20221004094754-879a66c4d2f9
github.com/stretchr/testify v1.8.0
)

Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzG
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220913083321-4f3b37b96a57 h1:ZxowDQZM/KMIHuYWgHtPROiiDK33TcmXo465D9mQeSE=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220913083321-4f3b37b96a57/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20221004094754-879a66c4d2f9 h1:+1XmEP+Os3mmd4u8B3JhbtZHax+Ed+fR1boOJXoCHI8=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20221004094754-879a66c4d2f9/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4=
github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
Expand Down
2 changes: 1 addition & 1 deletion scaleway/resource_instance_snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func resourceScalewayInstanceSnapshotCreate(ctx context.Context, d *schema.Resou
}

if volumeID, volumeIDExist := d.GetOk("volume_id"); volumeIDExist {
req.VolumeID = expandZonedID(volumeID).ID
req.VolumeID = scw.StringPtr(expandZonedID(volumeID).ID)
}

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

0 comments on commit cb64dea

Please sign in to comment.