Skip to content

Commit

Permalink
provider/scaleway: fix volume attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolai86 committed Oct 29, 2016
1 parent a0e7825 commit caa3ecc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func resourceScalewayVolumeAttachmentCreate(d *schema.ResourceData, m interface{

// the API request requires most volume attributes to be unset to succeed
for k, v := range volumes {
v.Size = 0
v.Size = nil
v.CreationDate = ""
v.Organization = ""
v.ModificationDate = ""
Expand Down Expand Up @@ -174,7 +174,7 @@ func resourceScalewayVolumeAttachmentDelete(d *schema.ResourceData, m interface{

// the API request requires most volume attributes to be unset to succeed
for k, v := range volumes {
v.Size = 0
v.Size = nil
v.CreationDate = ""
v.Organization = ""
v.ModificationDate = ""
Expand Down

0 comments on commit caa3ecc

Please sign in to comment.