Skip to content

Commit

Permalink
chore: linting return value error (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
alekc authored Mar 2, 2020
1 parent 9d0c70f commit 6766e4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scaleway/resource_instance_security_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ func resourceScalewayInstanceSecurityGroupRead(d *schema.ResourceData, m interfa
if err != nil {
return err
}
d.Set("inbound_rule", inboundRules)
d.Set("outbound_rule", outboundRules)
_ = d.Set("inbound_rule", inboundRules)
_ = d.Set("outbound_rule", outboundRules)
}
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion scaleway/resource_instance_security_group_rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func customImporterState(d *schema.ResourceData, m interface{}) ([]*schema.Resou
// It should be a SecurityGroupZonedID.
importZonedID := d.Id()

d.Set("security_group_id", importZonedID)
_ = d.Set("security_group_id", importZonedID)
d.SetId(importZonedID)

return []*schema.ResourceData{d}, nil
Expand Down

0 comments on commit 6766e4e

Please sign in to comment.